/detect_mouth_open

An simple algorithm to detect mouth open utilizing feature outputs from face_recognition project

Primary LanguagePythonMIT LicenseMIT

detect_mouth_open

An simple algorithm to detect mouth open utilizing feature outputs from face_recognition project.

Check this Medium post for more details.

Algorithm

Mouth points and measurements:

Algorithm

Corresponding facial features:

facial features

Prerequisite

Install face_recognition package first.

Run real-time webcam example

git clone https://github.com/peterjpxie/detect_mouth_open.git

cd detect_mouth_open

python facerec_from_webcam_mouth_open.py