Face Detector Training Method, Face Detection Method, and Apparatuses
First Claim
1. A face detector training method, comprising:
- performing a training process by;
collecting face and non-face images as a training image sample set;
extracting a flexible block based local binary pattern (FBLBP) feature of the face and non-face images to form an FBLBP feature set; and
using the FBLBP feature and a GentleBoost algorithm to perform training, to obtain a first classifier, wherein the first classifier comprises several optimal second classifiers, and each optimal second classifier is obtained by training by using the GentleBoost algorithm;
repeating the training process to obtain multiple layers of first classifiers; and
cascading the multiple layers of first classifiers to form a face detector.
1 Assignment
0 Petitions
Accused Products
Abstract
A face detector training method, a face detection method, and apparatuses are provided. 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.
-
Citations
20 Claims
-
1. A face detector training method, comprising:
-
performing a training process by; collecting face and non-face images as a training image sample set; extracting a flexible block based local binary pattern (FBLBP) feature of the face and non-face images to form an FBLBP feature set; and using the FBLBP feature and a GentleBoost algorithm to perform training, to obtain a first classifier, wherein the first classifier comprises several optimal second classifiers, and each optimal second classifier is obtained by training by using the GentleBoost algorithm; repeating the training process to obtain multiple layers of first classifiers; and cascading the multiple layers of first classifiers to form a face detector. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A method for performing face detection by using a face detector, comprising:
-
traversing a to-be-detected image to obtain a to-be-detected subimage set; inputting each to-be-detected subimage in the to-be-detected subimage set into the face detector; calculating, layer by layer, output of a first classifier at each layer in the face detector; for a to-be-detected subimage, considering that the to-be-detected subimage is a non-face when output of a first classifier at any layer of the face detector is less than a threshold that is of the first classifier and is obtained by training, wherein a subimage to be detected is considered as a face only when a first classifier at all layers determines that the subimage to be detected is a face; combining all detection results; and outputting a position of a face in the to-be-detected image. - View Dependent Claims (10)
-
-
11. A face detector training apparatus, comprising:
-
a flexible block based local binary pattern (FBLBP) feature set module configured to collect face and non-face images as a training image sample set, and extract an FBLBP feature of the face and non-face images to form an FBLBP feature set; a first classifier module configured to perform training, by using the FBLBP feature that is collected by the FBLBP feature set module and by using a GentleBoost algorithm, to obtain a first classifier, wherein the first classifier comprises several optimal second classifiers, and each optimal second classifier is obtained by training by using the GentleBoost algorithm; and a face detector module configured to repeat a training process of the FBLBP feature set module and the first classifier module to obtain multiple layers of first classifiers, and cascade the multiple layers of first classifiers to form a face detector. - View Dependent Claims (12, 13, 14, 15, 16, 17, 18)
-
-
19. A face detection apparatus, comprising:
-
a traversing module configured to traverse a to-be-detected image to obtain a to-be-detected subimage set; a calculating module configured to bring each to-be-detected subimage in the to-be-detected subimage set that is obtained by traversing by the traversing module into the face detector, and calculate, layer by layer, output of a first classifier at each layer in the face detector; a determining module configured to, for each to-be-detected subimage, determine the output that is of the first classifier at each layer and is calculated by the calculating module, and consider that the to-be-detected subimage is a non-face when output of a first classifier at any layer of the face detector is less than a threshold that is of the first classifier and is obtained by training, wherein only a to-be-detected subimage that passes determining of classifiers at all layers is considered as a face; and a combining module configured to combine all detection results that are obtained by the determining module, and output a position of a face in the to-be-detected image. - View Dependent Claims (20)
-
Specification