Skip to content

sanskarbiswal/OpenCV_Smile-Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

OpenCV_Smile-Detection

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).

Requirements

System Equipped with Webcam

Python 3x (Tested on Python 3.6.7)

OpenCV

Note: Tested on Windows 10

Get Python and OpenCV

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

Note and Future Development:

I may probably extend this project on a later date to include facial expression classification of multiple emotions and from any face-profile.

About

Simple Smile Detection using OpenCV and Python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages