Driver Distraction Detection Using CNN
Driver Distraction Detection Using CNN
https://doi.org/10.22214/ijraset.2022.45074
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue VI June 2022- Available at www.ijraset.com
Abstract: The ultimate aim of this project is to reduce the road accidents and there are several reasons for occurrence of large
number of accidents. One of the main and biggest cause is the driver’s distraction while driving, so by detecting the driver’s
distraction and giving an alert to maintain the driver’s focus can ultimately reduce the number of accidents. The technology we
worked with in this study follows deep neural networks and image processing to prevent accidents brought on by distracted
driving. In order to categorize distracted drivers into distinct groups, a CNN-based approach with vgg16 technique is employed to
extract the activities of the driver from the driver picture collection. The dataset of all images, which comprises of 10 activities in
26 distinct subjects including texting, using a phone while driving, looking into the mirror, safe driving, drinking, turning
behind etc., is used to create a deep learning model. When a video input is given detection is done frame by frame and as soon as
the distraction is detected an alarm is given to the driver. Results from 10 epochs demonstrate that all experiments had accuracy
levels more than 75%, with the greatest result being 97%.
Index Terms: Convolutional Neural Network (CNN), image processing, vgg16.
I. INTRODUCTION
A driver is said to be distracted when he/she undergo some activity by which they ultimately lose their concentration on the driving.
The driver is the key actor in all aspects of vehicle control, including steering, braking, acceleration, and other actions. All traffic
participants, their goods, and these fundamental responsibilities must be completed securely. Nevertheless, drivers frequently spend
time and energy on pursuits aside from their essential duties. Secondary tasks are any other activities that drivers engage in while
operating a vehicle. They can be broken down into interactions with in-vehicle information systems (IVIS), which include
monitoring and managing vehicle state, navigating, providing information and entertainment, etc., and interactions with people, such
as passengers and pets, or with items that people have brought into the car, like portable electronic devices.
Driver distraction is described as an action that a driver takes that diverts their focus away from their primary task of controlling the
forward and lateral movement of their vehicle, thereby their ability to drive safely. It seems to be caused by some circumstance,
action, thing, or person within or outside the car that forces or prompts the driver to divert their focus from their main goal. Driving
comfort, entertainment, and navigation have been significantly improved thanks to an upgrade of IVIS. IVIS draws extra drivers'
attention at the same time, though. It raises DD, which frequently causes car accidents with fatal outcomes. More than 420000
injuries are caused by distracted driving each year. Additionally, more than 3100 drivers pass away suddenly in car accidents per
year in the USA alone as a result of DD.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4779
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue VI June 2022- Available at www.ijraset.com
There are 10 classes in which a image can be classifies where 9 are considered as not safe/distracted activities and 1 among them is
safe driving. When the classifier detects the image as not safe then an alert alarm is given to the driver so that driver can maintain
his concentration.
Technical Architecture
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4780
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue VI June 2022- Available at www.ijraset.com
Firstly the suitable dataset is taken and undergo all the preprocessing steps which includes data labeling, data annotation. After the
data is splitted for training and testing where training dataset is used for trainig the model. Training dataset contains labeled data
through which the classifier is built with good accuracy. After building the classisfier it is tesed with testing dataset which is
unlabeled and shuffeled randomly.
When an image is given as input to the classifier it classifies it into any of those 10 classes depending on the driver’s body posture.
When the detection is safe the alarm does not blow but if the input image is unsafe as soon as the unsafe detection is made an alert
alarm is given to the driver. Which eventually can reduce the number of road accidents occurring.
V. RESULTS
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4781
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue VI June 2022- Available at www.ijraset.com
Here in the above examples fig4, fig5, fig6 are considered as distracted driving/unsafe driving whereas fig7 is considered as safe
driving.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4782
International Journal for Research in Applied Science & Engineering Technology (IJRASET)
ISSN: 2321-9653; IC Value: 45.98; SJ Impact Factor: 7.538
Volume 10 Issue VI June 2022- Available at www.ijraset.com
VII. AKNOWLEDGEMENT
This research was made possible thanks for the direction, encouragement, and inspiration from our faculty, who we hold in high
regard and who have inspired us to pursue our interests in the field of deep learning. We are thankful to Mrs. Sangeeta Jawar,
Assistant Professor, Dept of CSE, TKREC.
REFERENCES
[1] C.Yan,F.Coenen,, “Driving posture recognition by convolutional neural networks,” IET Computer Vision, vol. 10, no. 2, pp. 103–114, 2016.
[2] Y. Abouelnaga, H. M. Eraqi, and M. N. Moustafa, “Realtime distracted driver posture classification,” arXiv preprint arXiv:1706.09498, 2017.
[3] Leonel Cuevas Valeriano, Paolo Napoletano,RaimondoSchettini. "Recognition of driver distractions using deep learning", 2018 IEEE 8th International
Conference on Consumer Electronics - Berlin (ICCE-Berlin), 2018
[4] Manjula Kumari, C.V Hari, Praveen Sankaran."Driver Distraction Analysis Using Convolutional Neural Networks", 2018 International Conference on Data
Science and Engineering(ICDSE), 2018
[5] S. Masood, A. Rai, A. Aggarwal, M. Doja, and M. Ahmad, “Detecting distraction of drivers using convolutional neural network,” Pattern Recognition Letters,
2018.
[6] Y. Yun, I. Y. Gu, M. Bolbat, and Z. H. Khan, “Videobased detection and analysis of driver distraction and inattention,” in Signal Processing and Integrated
Networks (SPIN), 2014 International Conference on. IEEE, 2014, pp. 190–195.
[7] A. Rangesh and M. M. Trivedi, “Handynet: A one-stop solution to detect, segment, localize & analyze driver hands,” arXiv preprint arXiv:1804.07834, 2018.
[8] A. Rangesh and M. M. Trivedi, “Handynet: A one-stop solution to detect, segment, localize & analyze driver hands,” arXiv preprint arXiv:1804.07834, 2018.
©IJRASET: All Rights are Reserved | SJ Impact Factor 7.538 | ISRA Journal Impact Factor 7.894 | 4783