A processor includes a face recognition block and a face detection block. The face detection block includes a scan block and control logic. The scan block may divide an image into a plurality of rectangles, determine whether at least some pixel values in each of the plurality of rectangles is within an allowable skin tone range, reject one or more of the plurality of rectangles, which do not contain pixels having a value within the allowable skin tone range, and mark remaining of the plurality of rectangles as component rectangles of a human face. Further, the scan block is to determine variability of the component rectangles, compare the variability of the component rectangles with a variability threshold, reject one or more of the component rectangles whose variability is less than the variability threshold, and retain remaining component rectangles as features of the human face.
展开▼