Skip to content

This project is about detecting drowsiness using dlib library and opencv.

Notifications You must be signed in to change notification settings

rishi0904/Drowsiness_Detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Drowsiness_Detection

This project is about detecting drowsiness using dlib library and opencv. For this conda is used project, created a new env (info in requirements.txt) and installed required libraries. It uses the coordinates around eyes and mouth (for yawning) to detect drowsiness.It uses a pre-trained model to get the coordinates for face landmarks (total 68) and then opencv to process the data and frames from video camera feed to detect face and face landmarks.

Usage:

python drowsiness_detection.py -p shape_predictor_68_face_landmarks.dat -a alarm.wav

link to download the pre-trained model

About

This project is about detecting drowsiness using dlib library and opencv.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages