Application background Based on AdaBoost cascade classifier of face detection, call Opencv library function, after the AdaBoost cascade classifier training, get the XML classifier, face detection, detection effect is also good, the detected face with a rectangular box to box out.