Simple Smile Detection using OpenCV and Python
The primary objective of the current project is to detect smile of th user using haar_cascade dataset provided and distributed with OpenCV. The present project only detects smiles from the front profile of the user. The sensitivity of expression can be set in the file main.py, at line 53. The threshold value can be from anywhere between 3 (very sensitive) to 6 (almost no output).
System Equipped with Webcam
Python 3x (Tested on Python 3.6.7)
OpenCV
Note: Tested on Windows 10
The latest version of Python can be downloaded from https://python.org
Install OpenCV in python. On a Windows System:
Open Command Prompt and enter: python -m pip install opencv-python
If you have both python2 and python3 on your system, : python3 -m pip install opencv-python
I may probably extend this project on a later date to include facial expression classification of multiple emotions and from any face-profile.