Deep-Learning-Drowsy-Driver-Detection-System.
This Repository is a project that uses computer vision to classify whether a driver is Awake or not.
Using Deep Leaning Models
CNN (Convalution Neural Networks) for image feature extraction.
Since python is platform independent, it can be run in windows, macos, linux.
It is best to run in conda enviornment as many packages are installed with anaconda.
conda install opencv
pip install opencv
- Run record.py in the folder "Video-Recorder"
- This Script takes your video from webcam and store it in greyscale format
- Data stored at "..//Data//Video//"filename".avi"
- Video Codec : DIVX and stored in .avi file format
- Run frame.py in the folder "Extract-Frames"
- This script takes in the grayscale video as input.
- Extract all the frames and stores at "..//Data//Video//"filename".jpg".
- Images stored in Joint Photographic Experts Group (JPG) file format.