https://github.com/sayak119/webcam_face-eye_detect
Detect face and eyes
https://github.com/sayak119/webcam_face-eye_detect
adaboost eye-detection face haar-cascade opencv xml
Last synced: about 1 month ago
JSON representation
Detect face and eyes
- Host: GitHub
- URL: https://github.com/sayak119/webcam_face-eye_detect
- Owner: sayak119
- Created: 2017-08-03T16:43:14.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-04T17:34:29.000Z (almost 9 years ago)
- Last Synced: 2025-01-18T17:21:19.462Z (over 1 year ago)
- Topics: adaboost, eye-detection, face, haar-cascade, opencv, xml
- Language: Python
- Size: 330 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# webcam_face-eye_detect
Detect face and eyes
Object Detection using Haar feature-based cascade classifiers is an effective object detection method.
Here we will work with face and eye detection. Initially, the algorithm needs a lot of positive images (images of faces and eyes) and negative images (images without faces and eyes) to train the classifier. Then we need to extract features from it. For this, haar features shown in below image are used. They are just like our convolutional kernel. Each feature is a single value obtained by subtracting sum of pixels under white rectangle from sum of pixels under black rectangle.

But among all these features we calculated, most of them are irrelevant. So how do we select the best features out of 160000+ features? It is achieved by **Adaboost**.
OpenCV comes with a trainer as well as detector. If you want to train your own classifier for any object like car, planes etc. you can use OpenCV to create one. Its full details are given here: http://docs.opencv.org/trunk/dc/d88/tutorial_traincascade.html