摘要 |
Embodiments of the present invention provide a face detector training method, a face detection method, and apparatuses. In the present invention, during a training phase, a flexible block based local binary pattern feature and a corresponding second classifier are constructed, appropriate second classifiers are searched for to generate multiple first classifiers, and multiple layers of first classifiers that are obtained by using a cascading method form a final face detector; and during a detection phase, face detection is performed on a to-be-detected image by using a first classifier or a face detector that is learned during a training process, so that a face is differentiated from a non-face, and a face detection result is combined and output. During this process, each FBLBP feature includes one pivot block and at least one neighbor block. The pivot block and the neighbor block are equal in size, and positions of each neighbor block and the pivot block are not strictly limited. Therefore, flexibility is high, robustness is improved, and meanwhile a false detection rate is reduced. |