Drowsy driving is the dangerous combination of driving when sleepy. This usually happens when a driver has not slept enough, but it can also happen because of untreated sleep disorders or shift work. Prescription and over-the-counter medications can also cause drowsiness, and alcohol can interact with sleepiness to increase both impairment and drowsiness.
This ML Model Detects a Drowsy Driver, and alet them about the danger.
Validation Accuracy = 0.9225 (92%). Data Set Of 48K images.
This dataset is just one part of The MRL Eye Dataset, Our dataset includes 24K images for both closed and open eye categories.
Training images : 38400
Validation images : 9600
Dataset has been already balanced,i.e both categories have same num of images. Thus, we shall only look at Accuracy metric.
Key metric to consider model performance -> val_categorical_accuracy.
Model have a set value of drowsyness scale at 23, when actual Score should be 13. This is because dataset of eyes with spectacles is have less dataset which tend to give "Not so good Results" when score =13.
A convolutional neural network can have tens or hundreds of layers that each learn to detect different features of an image. Filters are applied to each training image at different resolutions, and the output of each convolved image is used as the input to the next layer. The filters can start as very simple features, such as brightness and edges, and increase in complexity to features that uniquely define the object.
Consider using CNNs when you have a large amount of complex data (such as image data). You can also use CNNs with signal or time-series data when preprocessed to work with the network structure.
No, of layers: 10