Skip to content

brunozampirom/Sleep-Detector

Repository files navigation

Sleep Detector

A sleep detection algorithm with OpenCV, Python, and dlib

Motivation

The algorithm consists of using computer vision to detect drowsiness. The algorithm could be used to detect drowsiness in drivers, in order to prevent accidents caused by the driver.

Installing and running

pip install -r requirement.txt
python sleep_detector.py  --shape-predictor shape_predictor_68_face_landmarks.dat

Inspiration

This algorithm consists of adapting the "Eye blink detection" developed by Adrian Rosebrock.

About

A sleep detection algorithm with OpenCV, Python, and dlib

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages