What is cascade object detector?
The cascade object detector uses the Viola-Jones algorithm to detect people's faces, noses, eyes, mouth, or upper body. You can also use the Image Labeler to train a custom classifier to use with this System object. For details on how the function works, see Get Started with Cascade Object Detector.
How does CascadeClassifier work?
How Does the Cascade Classifier Work? The cascade classifier consists of stages, where each stage is an ensemble of weak learners. The weak learners are simple classifiers called decision stumps. Each stage is trained using a technique called boosting.
How to detect face in matlab?
faceDetector = vision. CascadeObjectDetector(); % Read a video frame and run the face detector. videoReader = VideoReader('tilted_face. avi'); videoFrame = readFrame(videoReader); bbox = step(faceDetector, videoFrame); % Draw the returned bounding box around the detected face.