Download as pptx, pdf, or txt
Download as pptx, pdf, or txt
You are on page 1of 3

Haar Cascade frontal face Emotion Detection

 It is an Object Detection Algorithm used to identify faces in an image or a


real time video.
 It is one of the most popular object detection algorithms in OpenCV.
 Accuracy is obtained for the Haar cascade is 96.24%
 Haar Cascading is the Machine Learning method where a classifier is
drilled from a great deal of positive and negative images. The
algorithm is put forwarded by Paul Viola and Michael Jones .

Positive images
• These images contain the images which we want our classifier to identify.
 Negative Images
• Images of everything else, which do not contain the object we want to detect
• There is a set of features which would capture certain facial structures like
eyebrows or the bridge between both the eyes, or the lips etc. But originally
the feature set was not limited to this. The feature set had an approx. of
180,000 of them, which got reduced to 6000.
• AdaBoost: in which each of these 180,000 features were applied to the
images separately to create Weak Learners. So that produced low error rates
as they separated the Positive images from the Negative images better than
the others.
• The subset of all 6000 features will again run on the training images to
detect if there’s a facial feature present or not.
• The Attentional Cascade. The idea behind this is, not all the features need to
run on each and every window. If a feature fails on a particular window, then
we can say that the facial features are not present there. Hence, we can move
to the next windows where there can be facial features present.
• they had a total of 38 stages for something around 6000 features. The
number of features in the first five stages are 1, 10, 25, 25, and 50, and this
increased in the subsequent stages.
.
fffffffff

You might also like