The goal of this project is to detect Faces and eyes in the images and from webcam. I have used Haar feature-based cascade classifiers
which is one of the effective methods of object detection as proposed by Paul Viola and Michael Jones. Checkout their paper
here.
I have used the face haarcascade and eye haarcascade which are downloaded from
this repo. The color images are first converted to
grayscale images because these cascades work on grayscale images. The grayscale images are passed to the methods of cascade
classifier and it returns the position where face starts, width and height of face. Then using these, we draw the rectangles
around the faces.
- Python: language
- OpenCV: open source computer vision library