An improved algorithm on viola-jones object detector