Driver Attention Detection Based on Improved YOLOv5
Source abstract
Abstract
In response to negative impacts such as personal and property safety hazards caused by drivers being distracted while driving on the road, this article proposes a driver’s attention state-detection method based on the improved You Only Look Once version five (YOLOv5). Both fatigue and distracted behavior can cause a driver’s attention to be diverted during the driving process. Firstly, key facial points of the driver are located, and the aspect ratio of the eyes and mouth is calculated. Through the examination of relevant information and repeated experimental verification, threshold values for the aspect ratio of the eyes and mouth under fatigue conditions, corresponding to closed eyes and yawning, are established. By calculating the aspect ratio of the driver’s eyes and mouth, it is possible to accurately detect whether the driver is in a state of fatigue. Secondly, distracted abnormal behavior is detected using an improved YOLOv5 model. The backbone network feature extraction element is modified by adding specific modules to obtain different receptive fields through multiple convolution operations on the input feature map, thereby enhancing the feature extraction ability of the network. The introduction of Swin Transformer modules in the feature fusion network replaces the Bottleneck modules in the C3 module, reducing the computational complexity of the model while increasing its receptive field. Additionally, the network connection in the feature fusion element has been modified to enhance its ability to fuse information from feature maps of different sizes. Three datasets were created of distracting behaviors commonly observed during driving: smoking, drinking water, and using a mobile phone. These datasets were used to train and test the model. After testing, the mAP (mean average precision) has improved by 2.4% compared to the model before improvement. Finally, through comparison and ablation experiments, the feasibility of this method has been verified, which can effectively detect fatigue and distracted abnormal behavior.
Source: crossref · Quality: baseline
Research context
OpenAlex topics: Sleep and Work-Related Fatigue · Ergonomics and Musculoskeletal Disorders · Impact of Light on Environment and Health
SciVX discovery tags are terminology-based. OpenAlex topics are source-provided classifications.
Affiliations
College of Electrical Information Engineering, Jiangsu University of Technology, Changzhou 213000, China
Funding
Jiangsu University of Technology
References (27)
Show source-provided references
1. Driving distraction at night: The impact of cell phone use on driving behaviors among young drivers10.1016/j.trf.2022.10.015 ↗
2. Driver distraction detection based on vehicle dynamics using naturalistic driving data10.1016/j.trc.2022.103561 ↗
3. Attention-based deep neural network for driver behavior recognition10.1016/j.future.2022.02.007 ↗
4. An enhanced adaptive large neighborhood search for fatigue-conscious electric vehicle routing and scheduling problem considering driver heterogeneity10.1016/j.eswa.2023.119644 ↗
5. Xue, Q., Wang, X., Li, Y., and Guo, W. (2023). Young Novice Drivers’ Cognitive Distraction Detection: Comparing Support Vector Machines and Random Forest Model of Vehicle Control Behavior. Sensors, 23.10.3390/s23031345 ↗
6. Recent Advances in Fatigue Detection Algorithm Based on EEG10.32604/iasc.2023.029698 ↗
7. Multi-modal Biometrics Based Implicit Driver Identification System Using Multi-TF Images of ECG and EMG10.1016/j.compbiomed.2023.106851 ↗
8. Chang, R.C.-H., Wang, C.-Y., Chen, W.-T., and Chiu, C.-D. (2022). Drowsiness Detection System Based on PERCLOS and Facial Physiological Signal. Sensors, 22.10.3390/s22145380 ↗
9. Automatic recognition of pavement cracks from combined GPR B-scan and C-scan images using multiscale feature fusion deep neural networks10.1016/j.autcon.2022.104698 ↗
10. Wang, D., Liu, Z., Gu, X., Wu, W., Chen, Y., and Wang, L. (2022). Automatic Detection of Pothole Distress in Asphalt Pavement Using Improved Convolutional Neural Networks. Remote Sens., 14.10.3390/rs14163892 ↗
11. Wu, J., Shen, T., Wang, Q., Tao, Z., Zeng, K., and Song, J. (2023). Local Adaptive Illumination-Driven Input-Level Fusion for Infrared and Visible Object Detection. Remote Sens., 15.10.3390/rs15030660 ↗
12. Yang, R., Li, W., Shang, X., Zhu, D., and Man, X. (2023). KPE-YOLOv5: An Improved Small Target Detection Algorithm Based on YOLOv5. Electronics, 12.10.3390/electronics12040817 ↗
13. Fatigue Working Detection Based on Facial Multifeature Fusion10.1109/JSEN.2023.3239029 ↗
14. Real-time fatigue driving detection system based on multi-module fusion10.1016/j.cag.2022.09.001 ↗
15. Chen, J., Yan, M., Zhu, F., Xu, J., Li, H., and Sun, X. (2022). Fatigue Driving Detection Method Based on Combination of BP Neural Network and Time Cumulative Effect. Sensors, 22.10.3390/s22134717 ↗
16. Xiang, W., Wu, X., Li, C., Zhang, W., and Li, F. (2022). Driving Fatigue Detection Based on the Combination of Multi-Branch 3D-CNN and Attention Mechanism. Appl. Sci., 12.10.3390/app12094689 ↗
17. Driver Distraction Detection Based on the True Driver’s Focus of Attention10.1109/TITS.2022.3166208 ↗
18. A multimodal fusion fatigue driving detection method based on heart rate and PERCLOS10.1109/TITS.2022.3176973 ↗
19. Distracted driver detection based on a CNN with decreasing filter size10.1109/TITS.2021.3063521 ↗
20. Ye, M., Zhang, W., Cao, P., and Liu, K. (2021). Driver Fatigue Detection Based on Residual Channel Attention Network and Head Pose Estimation. Appl. Sci., 11.10.3390/app11199195 ↗
21. Zheng, H., Wang, Y., and Liu, X. (2023). Adaptive Driver Face Feature Fatigue Detection Algorithm Research. Appl. Sci., 13.10.3390/app13085074 ↗
22. Redmon, J., Divvala, S., Girshick, R., and Farhadi, A. (2016, January 27–30). You only look once: Unified, real-time object detection. Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, Las Vegas, NV, USA.10.1109/CVPR.2016.91 ↗
23. Feature Alignment FPN for Oriented Object Detection in Remote Sensing Images10.1109/LGRS.2023.3330957 ↗
24. Sun, K., Xiao, B., Liu, D., and Wang, J. (2019, January 15–20). Deep high-resolution representation learning for human pose estimation. Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition, Long Beach, CA, USA.10.1109/CVPR.2019.00584 ↗
25. Dewi, C., Chen, R.-C., Chang, C.-W., Wu, S.-H., Jiang, X., and Yu, H. (2022). Eye Aspect Ratio for Real-Time Drowsiness Detection to Improve Driver Safety. Electronics, 11.10.3390/electronics11193183 ↗
26. Zhu, T., Zhang, C., Wu, T., Ouyang, Z., Li, H., Na, X., Liang, J., and Li, W. (2022). Research on a Real-Time Driver Fatigue Detection Algorithm Based on Facial Video Sequences. Appl. Sci., 12.10.3390/app12042224 ↗
27. Liu, Z., Lin, Y., Cao, Y., Hu, H., Wei, Y., and Zhang, Z. (2021, January 11–17). Swin transformer: Hierarchical vision transformer using shifted windows. Proceedings of the IEEE/CVF International Conference on Computer Vision Workshops (ICCVW), Montreal, BC, Canada.10.1109/ICCV48922.2021.00986 ↗