Drowsiness detection is a safety technology that can prevent accidents that are caused by drivers who fell asleep while driving. This technology will alert the driver when drowsiness is detected. 😴 🚨
- CNN Approach
- Transfer Learning Approach
- Readme
- Dataset
- Required Libraries
- Installation Setup
- Results
- Research Article
- Video Demonstration
Sorry we were not able to upload dataset on GitHub due to size limitation
But you can find the links to download the dataset from the following text files
- For CNN - Dataset.txt
- For Transfer Learning - get_dataset.txt
- keras
- cv2
- pygame
- numpy
- matplotlib
- glob
- tqdm
You can clone this repository using command: git clone https://github.com/rudrabarad/Driver-Drowsiness-Detection.git
- For CNN open and run
DDDS_CNN/model_training.py
- For Transfer Learning open and run
Transfer_learning/Model_Training_TL.ipynb
- For CNN run
DDDS_CNN/main_capture.py
- For Transfer Learning run
Transfer_learning/tl_capture.py
Note: Currently there is no Models folder in both CNN & Transfer folders but it will be created as soon as user executes model training file
Approach | Training Accuracy | Validation Accuracy |
---|---|---|
CNN | 99.01% | 95.19% |
Transfer Learning | 82% | 79% |
For viewing or downloading video click here 🎬
Feel free to open an issue. We are glad to help you. ❤️
Project is published under the MIT license.