A drowsiness monitoring system for drivers.
This system monitors drowsiness by detecting the driver’s face and sending a drowsiness alert if his eyes have been closed for a certain number of frames.
The user can configure their own threshold by specifying an EAR ratio and customising the number of frames if they do not want to use the defaults.
dlib
for the face detection modelopencv-python
for drawing frames around the eyestkinter
for the GUIplaysound
to play the alarmscipy
for Euclidean distance calculationsYou must have Python 3.6 or higher to run the file.
pip install -r requirements.txt
dds.py
file with python dds.py
This system was made as part of our Mini Project for Semester IV.