A sleep detection algorithm with OpenCV, Python, and dlib
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.
pip install -r requirement.txt
python sleep_detector.py --shape-predictor shape_predictor_68_face_landmarks.dat
This algorithm consists of adapting the "Eye blink detection" developed by Adrian Rosebrock.
