This is an OpenCV application for face, eyes, smile detection. It uses haarcascade provided by OpenCV
- The PC should have a working Webcam(mainwebcam 0, other cams 1 or further numbers)
- Must allow third party connection with WebCam
- Python
- Opencv-Python
- Download the required haars from here.
- cx_freeze(if you want to run
setup.py
for making a windows binary(.exe) file).
After successful installation of opencv-python and downloading the haars, run the script and change in the haar name in cv2.CascadeClassifier
in the program FACE_EYES_SMILE_DETECTION.PY
The script setup.py
uses cx_freeze
module make sure to install it.
Then open cmd in the specified folder, and run the commands below :
python setup.py build
python setup.py bdist_msi
I have uploaded my windows binary file too...if in any case you cant build it, feel free to download mine!!
You can find in my releases under this project here
or from my google drive