Patent Document ID: 9582710
Application ID: 14558414

Base Claim:
1. A method for generating a strong classifier for face detection, the method comprising: determining, according to a size of a prestored image training sample, a parameter of each of one or more weak classifiers of the image training sample; obtaining, according to a preset threshold of each of the one or more weak classifiers and the parameter of each weak classifier, a sketch value of each of the one or more weak classifiers of the image training sample; calculating, according to the sketch value of each weak classifier and an initial weight of the image training sample, a weighted classification error of each of the one or more weak classifiers of the image training sample; obtaining, according to the weighted classification error of each weak classifier, one or more optimal weak classifiers; and generating a strong classifier for face detection according to the one or more optimal weak classifiers.

---

Claim 6:
6. The method according to claim 1 , wherein calculating the weighted classification error of each of the one or more weak classifiers comprises: calculating, according to the sketch value of the weak classifier and a feature identifier of each image training sample, a classification error of classification performed by the weak classifier on each image training sample; and obtaining a weighted classification error of the weak classifier by performing weighted accumulation, according to an initial weight of each image training sample, on the classification error of classification performed by the weak classifier on each image training sample, wherein the feature identifier of the image training sample is one of a preset input vector corresponding to a human face feature of the image training sample or a preset input vector corresponding to a non-human face feature of the image training sample.