An application to detect drowsiness of drivers and alert them.
- Python 3.6 +
- Keras
- OpenCV
- imutils
Run -
$ python3 model.py
The trained model is saved as 'eyeblink.hdf5'
- NOTE - The model is trained with the Eye images(24x24) of Closed Eyes In The Wild (CEW) dataset
Run -
$ python3 drowsiness_detection.py
The application can be loaded into a raspberry pi and using its camera module it can be used in cars for detecting drowsiness in drivers. This could help in preventing many car accidents cause due to drowsiness while driving.