This repository contains two app for driver drowsiness detection via eye monitoring being it closed or opened.
-
Python code: Simple app to detect the status of eye being it closed or opened (sleep_detection.py (test1.jpg and test2.jpg are for testing))
-
C++ code: Realtime sleep detection (cpp code/sleep_detection.cpp)
- Install Opencv3 for realtime sleep detection (C++ code).
- Install Python.
- Install Dlib and its dependencies https://github.com/davisking/dlib .
For more info : http://emaraic.com/blog/realtime-sleep-detection
https://www.youtube.com/watch?v=DxHW8f6ryHQ
Real-Time Eye Blink Detection using Facial Landmarks by Tereza Soukupova and Jan Cech
https://vision.fe.uni-lj.si/cvww2016/proceedings/papers/05.pdf