Skip to content

It's a simple script for face flatigue detection for Windows.

License

Notifications You must be signed in to change notification settings

CXMANDTXW/Face_flatigue_detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Face_flatigue_detection

It's a simple script for face flatigue detection for Windows. Including blink,Yawn,Nod detection.

Intallation process

step 1:

Install all libraries

  • scipy (pip install scipy)

  • OpenCv

  • imutils (pip install imutils)

  • dlib

  • python

installation of Dlib libary

These instructions assume you are on Windows.

Pre-reqs: Have Python 3 installed. We need to keep the python version consistent with the Dlib version

step 1

step 2

For real-time detection(USB Camera).Do not use -v to specify a video file.

python face_detection.py -p shape_predictor_68_face_landmarks.dat

For video detection

python face_detection.py -p shape_predictor_68_face_landmarks.dat -v your_video.mp4

About

It's a simple script for face flatigue detection for Windows.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages