Research Article

Distracted Driving Detection with Machine Learning Methods by CNN Based Feature Extraction

Volume: 9 Number: 4 December 31, 2021
EN

Distracted Driving Detection with Machine Learning Methods by CNN Based Feature Extraction

Abstract

Millions of people lose their lives due to accidents caused by various reasons. As the number of vehicles increases, the number of accidents also increases. When driver errors caused by technological devices are added to this, the rate of accidents is increasing more and more. Generally, the vast majority of accidents occur as a result of distractions from drivers. For this reason, there is a need for a system based on the detection of driver errors and warning the driver in modern vehicles. For this purpose, the analysis of the convolutional neural network (CNN) feature extraction based classification models was carried out in this study. The SequeezeNet CNN architecture is trained with the transfer learning method and the image features are taken before the classification layer. The images were classified by giving the obtained features as input to k-nearest neighbor (k-NN), support vector machine (SVM) and random forest (RF) machine learning algorithms. A 10-class dataset containing 22,424 driver error images was used in the training of the models. Classification successes of k-NN, SVM, RF models trained with images are 98.1%, 95.8%, and 88.7%, respectively. The highest classification success was obtained from the k-NN model. Other performance measurement metrics were also used for the detailed analysis of the classification models. It is aimed to find the most suitable model by comparing the training and testing times of the models. It is aimed that the obtained models can be used to detect driver errors over the image.

Keywords

References

  1. Arnold, P. K., Hartley, L. R., Corry, A., Hochstadt, D., Penna, F., & Feyer, A. M., Hours of work, and perceptions of fatigue among truck drivers. Accident Analysis & Prevention, 1997. 29(4): p. 471-477.
  2. Philip, P., Sagaspe, P., Moore, N., Taillard, J., Charles, A., Guilleminault, C., & Bioulac, B., Fatigue, sleep restriction and driving performance. Accident Analysis & Prevention, 2005. 37(3): p. 473-478.
  3. Beirness, D.J., H.M. Simpson, and A. Pak, The road safety monitor: Driver distraction. 2002.
  4. Wahlstrom, E., O. Masoud, and N. Papanikolopoulos. Vision-based methods for driver monitoring. in Proceedings of the 2003 IEEE International Conference on Intelligent Transportation Systems. 2003. IEEE.
  5. Sagberg, F., Jackson, P., Krüger, H. P., Muzet, A., & Williams, A. J., Fatigue, sleepiness and reduced alertness as risk factors in driving. 2004: Institute of Transport Economics Oslo.
  6. Lal, S.K. and A. Craig, A critical review of the psychophysiology of driver fatigue. Biological psychology, 2001. 55(3): p. 173-194.
  7. Bayly, M., Fildes, B., Regan, M., & Young, K., Review of crash effectiveness of intelligent transport systems. Emergency, 2007. 3: p. 14.
  8. Dinges, D. and M. Mallis. Managing fatigue by drowsiness detection: Can technological promises be realized? in International Conference on Fatigue and Transportation, 3rd, 1998, Fremantle, Western Australia. 1998.

Details

Primary Language

English

Subjects

Engineering

Journal Section

Research Article

Publication Date

December 31, 2021

Submission Date

December 12, 2021

Acceptance Date

December 22, 2021

Published in Issue

Year 1970 Volume: 9 Number: 4

APA
Al-doorı, S. K. S., Taspınar, Y. S., & Koklu, M. (2021). Distracted Driving Detection with Machine Learning Methods by CNN Based Feature Extraction. International Journal of Applied Mathematics Electronics and Computers, 9(4), 116-121. https://doi.org/10.18100/ijamec.1035749
AMA
1.Al-doorı SKS, Taspınar YS, Koklu M. Distracted Driving Detection with Machine Learning Methods by CNN Based Feature Extraction. International Journal of Applied Mathematics Electronics and Computers. 2021;9(4):116-121. doi:10.18100/ijamec.1035749
Chicago
Al-doorı, Shafeeq Kanaan Shakir, Yavuz Selim Taspınar, and Murat Koklu. 2021. “Distracted Driving Detection With Machine Learning Methods by CNN Based Feature Extraction”. International Journal of Applied Mathematics Electronics and Computers 9 (4): 116-21. https://doi.org/10.18100/ijamec.1035749.
EndNote
Al-doorı SKS, Taspınar YS, Koklu M (December 1, 2021) Distracted Driving Detection with Machine Learning Methods by CNN Based Feature Extraction. International Journal of Applied Mathematics Electronics and Computers 9 4 116–121.
IEEE
[1]S. K. S. Al-doorı, Y. S. Taspınar, and M. Koklu, “Distracted Driving Detection with Machine Learning Methods by CNN Based Feature Extraction”, International Journal of Applied Mathematics Electronics and Computers, vol. 9, no. 4, pp. 116–121, Dec. 2021, doi: 10.18100/ijamec.1035749.
ISNAD
Al-doorı, Shafeeq Kanaan Shakir - Taspınar, Yavuz Selim - Koklu, Murat. “Distracted Driving Detection With Machine Learning Methods by CNN Based Feature Extraction”. International Journal of Applied Mathematics Electronics and Computers 9/4 (December 1, 2021): 116-121. https://doi.org/10.18100/ijamec.1035749.
JAMA
1.Al-doorı SKS, Taspınar YS, Koklu M. Distracted Driving Detection with Machine Learning Methods by CNN Based Feature Extraction. International Journal of Applied Mathematics Electronics and Computers. 2021;9:116–121.
MLA
Al-doorı, Shafeeq Kanaan Shakir, et al. “Distracted Driving Detection With Machine Learning Methods by CNN Based Feature Extraction”. International Journal of Applied Mathematics Electronics and Computers, vol. 9, no. 4, Dec. 2021, pp. 116-21, doi:10.18100/ijamec.1035749.
Vancouver
1.Shafeeq Kanaan Shakir Al-doorı, Yavuz Selim Taspınar, Murat Koklu. Distracted Driving Detection with Machine Learning Methods by CNN Based Feature Extraction. International Journal of Applied Mathematics Electronics and Computers. 2021 Dec. 1;9(4):116-21. doi:10.18100/ijamec.1035749

Cited By