A cascade classifier is an OpenCV object created from a trained XML model file. For face detection, OpenCV supplies pretrained Haar feature-based cascade models in its data directory. section 9.3.1
Detecting a face
Load photo.jpg, convert the frame to grayscale, equalize its histogram, and call face_classifier.detectMultiScale(clean). A sample image returns one face represented by [215, 105, 268, 268].
