Skip to main content

A Comparative Study on Distracted Driver Detection Using CNN and ML Algorithms

  • Conference paper
  • First Online:
Proceedings of International Conference on Data Science and Applications

Part of the book series: Lecture Notes in Networks and Systems ((LNNS,volume 552))

  • 438 Accesses

Abstract

Being alert and cautious on the road is of utmost importance and this makes distraction of the driver on the road a major cause of concern. However, human nature is one that makes humans quite prone to distraction. Driving while being distracted is utterly irresponsible and results in life-altering mistakes for oneself as well as others. One needs to be absolutely vigilant while driving and sometimes even if a person drives sincerely the other person on the road might not do the same resulting in an accident. Hence, developing an efficient system to detect distracted drivers is of prime importance. With this aim, we have developed a convolutional neural network model using Keras library on State Farm Distracted Driver Detection Dataset with a training accuracy of 98.23% and testing accuracy of 97.54%. Using the technique of transfer learning of pre-trained ResNet50 and VGG16 models on the same dataset, comparisons have been drawn between the different models. Logistic regression was also performed on the same dataset and it proved to be comparable to CNN models in terms of accuracy as well as loss with average training and testing accuracy coming up to be 98% and 97%, respectively.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 219.00
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 279.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Texting and driving accident statistics—distracted driving (2019). https://www.edgarsnyder.com/car-accident/cause-of-accident/cell-phone/cell-phone-statistics.html

  2. McDermott J Data Science Consultant. https://www.learndatasci.com/tutorials/convolutional-neural-networks-image-classification/

  3. Gupta I, Garg N, Aggarwal A, Nepalia N, Verma B (2018) Real-time driver’s drowsiness monitoring based on dynamically varying threshold. In: 2018 Eleventh international conference on contemporary computing (IC3). IEEE, pp 1–6

    Google Scholar 

  4. Verma B, Choudhary A (2018) A framework for driver emotion recognition using deep learning and Grassmann manifolds. In: 2018 21st International conference on intelligent transportation systems (ITSC). IEEE, pp 1421–1426

    Google Scholar 

  5. Verma B, Choudhary A (2018) Deep learning based real-time driver emotion monitoring. In: 2018 IEEE international conference on vehicular electronics and safety (ICVES). IEEE, pp 1–6

    Google Scholar 

  6. Liao Y, Li SE, Wang W, Wang Y, Li G, Cheng B (2016) Detection of driver cognitive distraction: a comparison study of stop-controlled intersection and speed-limited highway. IEEE Trans Intell Transp Syst 17(6):1628–1637

    Article  Google Scholar 

  7. Seshadri K, Juefei-Xu F, Pal DK, Savvides M, Thor CP (2015) Driver cell phone usage detection on strategic highway research program (SHRP2) face view videos. In: Proceedings of the IEEE conference on computer vision and pattern recognition workshops, pp 35–43

    Google Scholar 

  8. Le THN, Zheng Y, Zhu C, Luu K, Savvides M (2016) Multiple scale faster-RCNN approach to driver’s cell-phone usage and hands on steering wheel detection. In: Proceedings of the IEEE conference on computer vision and pattern recognition workshops, pp 46–53

    Google Scholar 

  9. Arefin MR, Makhmudkhujaev F, Chae O, Kim J (2019) Aggregating CNN and HOG features for real-time distracted driver detection. In: 2019 IEEE international conference on consumer electronics (ICCE). IEEE, pp 1–3

    Google Scholar 

  10. Dasgupta A, Rahman D, Routray A (2019) A smartphone-based drowsiness detection and warning system for automotive drivers. IEEE Xplore. From https://ieeexplore.ieee.org/document/8595428

  11. Baheti B, Talbar S, Gajre S (2018) Towards computationally efficient and realtime distracted driver detection with mobileVGG network. IEEE Trans Intell Veh 5(4):565–574. https://doi.org/10.1109/tiv.2020.2995555

    Article  Google Scholar 

  12. Qin B, Qian J, Xin Y, Liu B, Dong Y Distracted driver detection based on a CNN with decreasing filter size. IEEE Trans Intell Transp Syst. https://doi.org/10.1109/TITS.2021.3063521

  13. Martin S, Ohn-Bar E, Tawari A, Trivedi MM (2014) Understanding head and hand activities and coordination in naturalistic driving videos. In: 2014 IEEE intelligent vehicles symposium proceedings. IEEE, pp 884–889

    Google Scholar 

  14. Ohn-Bar E, Martin S, Trivedi M (2013) Driver hand activity analysis in naturalistic driving studies: challenges, algorithms, and experimental studies. J Electron Imaging 22(4):041119

    Article  Google Scholar 

  15. Gumaei A, Al-Rakhami M, Hassan MM, Alamri A, Alhussein M, Razzaque MA, Fortino G (2020) A deep learning-based driver distraction identification framework over edge cloud. Neural Comput Appl 1–16

    Google Scholar 

  16. Eraqi HM, Abouelnaga Y, Saad MH, Moustafa MN (2019) Driver distraction identification with an ensemble of convolutional neural networks. J Adv Transp

    Google Scholar 

  17. Mase JM, Chapman P, Figueredo GP, Torres MT (2020) A hybrid deep learning approach for driver distraction detection. In: 2020 International conference on information and communication technology convergence (ICTC). IEEE, pp 1–6

    Google Scholar 

  18. Masood S, Rai A, Aggarwal A, Doja MN, Ahmad M (2020) Detecting distraction of drivers using convolutional neural network. Pattern Recogn Lett 139:79–85

    Article  Google Scholar 

  19. Jain DK, Jain R, Lan X, Upadhyay Y, Thareja A (2021) Driver distraction detection using capsule network. Neural Comput Appl 33(11):6183–6196

    Article  Google Scholar 

  20. Kose N, Kopuklu O, Unnervik A, Rigoll G (2019) Real-time driver state monitoring using a CNN based spatio-temporal approach. In: 2019 IEEE intelligent transportation systems conference (ITSC). IEEE, pp 3236–3242

    Google Scholar 

  21. Omerustaoglu F, Sakar CO, Kar G (2020) Distracted driver detection by combining in-vehicle and image data using deep learning. Appl Soft Comput 96:106657

    Article  Google Scholar 

  22. Alotaibi M, Alotaibi B (2020) Distracted driver classification using deep learning. SIViP 14(3):617–624

    Article  MathSciNet  Google Scholar 

  23. Battini D (2018) Adam optimization algorithms in deep learning. Tech. https://www.tech-quantum.com/adam-optimization-algorithms-in-deep-learning/

  24. Boudhir AA, Karas Ä°R, Aroussi ME, Santos D, Ahmed MB (2020) Innovations in smart cities applications, 3rd edn: the proceedings of the 4th international conference on smart city applications. Springer

    Google Scholar 

  25. Kaushik A (2020) Understanding Resnet50 architecture. In: OpenGenus IQ: computing expertise & legacy. https://iq.opengenus.org/resnet50-architecture/

  26. VGG16—convolutional network for classification and detection (2021). https://neurohive.io/en/popular-networks/vgg16/

  27. Pant A (2019) Introduction to logistic regression. Medium. https://towardsdatascience.com/introduction-to-logistic-regression

  28. State farm distracted driver detection dataset. https://www.kaggle.com/c/state-farm-distracted-driver-detection.

Download references

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Faeza Hasani .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2023 The Author(s), under exclusive license to Springer Nature Singapore Pte Ltd.

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Dhiman, A., Varshney, A., Hasani, F., Verma, B. (2023). A Comparative Study on Distracted Driver Detection Using CNN and ML Algorithms. In: Saraswat, M., Chowdhury, C., Kumar Mandal, C., Gandomi, A.H. (eds) Proceedings of International Conference on Data Science and Applications. Lecture Notes in Networks and Systems, vol 552. Springer, Singapore. https://doi.org/10.1007/978-981-19-6634-7_47

Download citation

Publish with us

Policies and ethics