Towards Safer Roads: A Machine Learning Framework for Driver Fatigue Detection
Downloads
The goal of this research is to enhance road safety by delivering an affordable, non-intrusive, and effective drowsiness detection solution suitable for integration into mainstream vehicle systems. Driver drowsiness is a critical factor contributing to road accidents, often resulting in severe injury or death. In Malaysia alone, it is estimated that drowsiness causes between 2,000 and 3,000 traffic accidents annually. Conventional vehicle-based drowsiness detection systems, which rely on steering behavior or lane departure, often fail to detect early physiological signs of fatigue. Recent advancements in artificial intelligence (AI), particularly in computer vision and machine learning, offer new opportunities for developing low-cost, real-time drowsiness monitoring systems. This research proposes a driver drowsiness monitoring system (DDMS) that utilizes deep learning and visual behavior analysis to detect signs of fatigue through real-time monitoring of eye and mouth activity. A customized Convolutional Neural Network (CNN) is developed to classify eye states (open vs. closed), while yawning is detected using facial landmark analysis and Mouth Aspect Ratio (MAR) computations. The system is trained and evaluated using the MRL Eye Dataset, which consists of 4,000 annotated images, with data preprocessing and augmentation applied to enhance robustness. Through systematic experimentation and hyperparameter tuning, the model achieves a peak accuracy of 98%, with equally high precision, recall, and F1 Scores, using the Adam optimizer, a learning rate of 0.001, and 50 training epochs. The system also demonstrated strong real-time performance across varied lighting conditions, though challenges remain in scenarios involving occlusion (e.g., sunglasses) and extreme head positions. The results indicate that the proposed method is not only feasible but highly accurate, marking a significant advancement in proactive traffic accident prevention technologies.
Downloads
[1] Liu, F., Chen, D., Zhou, J., & Xu, F. (2022). A review of driver fatigue detection and its advances on the use of RGB-D camera and deep learning. Engineering Applications of Artificial Intelligence, 116, 105399. doi:10.1016/j.engappai.2022.105399.
[2] Rahman, A., Hriday, M. B. H., & Khan, R. (2022). Computer vision-based approach to detect fatigue driving and face mask for edge computing device. Heliyon, 8(10), e11204. doi:10.1016/j.heliyon.2022.e11204.
[3] Civik, E., & Yuzgec, U. (2023). Real-time driver fatigue detection system with deep learning on a low-cost embedded system. Microprocessors and Microsystems, 99, 104851. doi:10.1016/j.micpro.2023.104851.
[4] Yu, L., Yang, X., Wei, H., Liu, J., & Li, B. (2024). Driver fatigue detection using PPG signal, facial features, head postures with an LSTM model. Heliyon, 10(21), e39479. doi:10.1016/j.heliyon.2024.e39479.
[5] AL-Quraishi, M. S., Azhar Ali, S. S., AL-Qurishi, M., Tang, T. B., & Elferik, S. (2024). Technologies for detecting and monitoring drivers’ states: A systematic review. Heliyon, 10(20), e39592. doi:10.1016/j.heliyon.2024.e39592.
[6] Hasan, M. M., Watling, C. N., & Larue, G. S. (2024). Validation and interpretation of a multimodal drowsiness detection system using explainable machine learning. Computer Methods and Programs in Biomedicine, 243, 107925. doi:10.1016/j.cmpb.2023.107925.
[7] Rad, R., & Jamzad, M. (2005). Real time classification and tracking of multiple vehicles in highways. Pattern Recognition Letters, 26(10), 1597-1607. doi:10.1016/j.patrec.2005.01.010.
[8] Watling, C. N., Mahmudul Hasan, M., & Larue, G. S. (2021). Sensitivity and specificity of the driver sleepiness detection methods using physiological signals: A systematic review. Accident Analysis and Prevention, 150, 105900. doi:10.1016/j.aap.2020.105900.
[9] Kumar, V., Pham, H., Pandey, P. K., & Goel, A. (2021). Driving to safety: real-time danger spot and drowsiness monitoring system. Soft Computing, 25(23), 14479–14497. doi:10.1007/s00500-021-06381-1.
[10] Radzuan, N. Q., Hassan, M. H. A., Abu Kassim, K. A., Ab. Rashid, A. A., Mohd Razelan, I. S., & Othman, N. A. (2021). The Analysis of Road Traffic Fatality Pattern for Selangor, Malaysia Case Study. Mekatronika, 3(1), 79–88. doi:10.15282/mekatronika.v3i1.7155.
[11] El-Nabi, S. A., El-Shafai, W., El-Rabaie, E. S. M., Ramadan, K. F., Abd El-Samie, F. E., & Mohsen, S. (2024). Machine learning and deep learning techniques for driver fatigue and drowsiness detection: a review. Multimedia Tools and Applications, 83(3), 9441–9477. doi:10.1007/s11042-023-15054-0.
[12] Fu, B., Boutros, F., Lin, C. T., & Damer, N. (2024). A Survey on Drowsiness Detection: Modern Applications and Methods. IEEE Transactions on Intelligent Vehicles, 9(11), 7279–7300. doi:10.1109/TIV.2024.3395889.
[13] Wang, S., Zhong, L., Fu, Y., Chen, L., Ren, J., & Zhang, Y. (2024). UFace: Your Smartphone Can “Hear” Your Facial Expression! Proceedings of the ACM on Interactive, Mobile, Wearable and Ubiquitous Technologies, 8(1), 27. doi:10.1145/3643546.
[14] Nair, A., Patil, V., Nair, R., Shetty, A., & Cherian, M. (2024). A review on recent driver safety systems and its emerging solutions. International Journal of Computers and Applications, 46(3), 137–151. doi:10.1080/1206212X.2023.2293348.
[15] Albadawi, Y., Takruri, M., & Awad, M. (2022). A Review of Recent Developments in Driver Drowsiness Detection Systems. Sensors, 22(5). doi:10.3390/s22052069.
[16] Bitkina, O. V., Park, J., & Kim, H. K. (2021). The ability of eye-tracking metrics to classify and predict the perceived driving workload. International Journal of Industrial Ergonomics, 86, 103193. doi:10.1016/j.ergon.2021.103193.
[17] Joliot, M., Cremona, S., Tzourio, C., & Etard, O. (2024). Modulate the impact of the drowsiness on the resting state functional connectivity. Scientific Reports, 14(1), 1–15. doi:10.1038/s41598-024-59476-8.
[18] Andrillon, T., Taillard, J., & Strauss, M. (2024). Sleepiness and the transition from wakefulness to sleep. Neurophysiologie Clinique, 54(2), 102954. doi:10.1016/j.neucli.2024.102954.
[19] Chang, R. C. H., Wang, C. Y., Chen, W. T., & Chiu, C. Di. (2022). Drowsiness Detection System Based on PERCLOS and Facial Physiological Signal. Sensors, 22(14), 5380. doi:10.3390/s22145380.
[20] Jones, A. W. (2022). Driving Under the Influence of Alcohol. Handbook of Forensic Medicine, 1387–1408. Portico. doi:10.1002/9781119648628.ch59.
[21] Freitas, A., Almeida, R., Gonçalves, H., Conceição, G., & Freitas, A. (2024). Monitoring fatigue and drowsiness in motor vehicle occupants using electrocardiogram and heart rate − A systematic review. Transportation Research Part F: Traffic Psychology and Behaviour, 103, 586–607. doi:10.1016/j.trf.2024.05.008.
[22] Antony, M. M., & Whenish, R. (2021). Advanced Driver Assistance Systems (ADAS). Automotive Embedded Systems, 165–181. doi:10.1007/978-3-030-59897-6_9.
[23] Mahanama, B. (n.d.). Eye Movement and Pupil Measures: A Review. Frontiers in Computer Science, 3, 733531. doi:10.3389/FCOMP.2021.733531/XML/NLM.
[24] Niu, J., & Ma, C. (2022). Is it Good or Bad to Provide Driver Fatigue Warning During Take-Over in Highly Automated Driving? Transportation Research Record, 2676(2), 762–774. doi:10.1177/03611981211046920.
[25] Shoshina, I. I., Kovalenko, S. D., Kuznetsov, V. V., Brak, I. V., & Kashevnik, A. M. (2024). Literature Review on Detection of Fatigue State Based on Eye Movement Monitoring. Human Physiology, 50(3), 260–275. doi:10.1134/S0362119724700737.
[26] Sri Mounika, T. V. N. S. R., Phanindra, P. H., Sai Charan, N. V. V. N., Kranthi Kumar Reddy, Y., & Govindu, S. (2022). Driver Drowsiness Detection Using Eye Aspect Ratio (EAR), Mouth Aspect Ratio (MAR), and Driver Distraction Using Head Pose Estimation. ICT Systems and Sustainability, 619–627. doi:10.1007/978-981-16-5987-4_63.
[27] Karthickmanoj, R., Aasha Nandhini, S., Sasilatha, T., & Lakshmi, D. (2023). Smart Cyber-Physical System-Based Plant Disease Detection for Agriculture. Contemporary Developments in Agricultural Cyber-Physical Systems, 204–222. doi:10.4018/978-1-6684-7879-0.ch011.
[28] Badashah, S. J., Alam, A., Jawarneh, M., Moharekar, T. T., Hariram, V., Poornima, G., & Jain, A. (2025). Cancer Classification and Detection Using Machine Learning Techniques. Natural Language Processing for Software Engineering, Wiley, 95-111. doi:10.1002/9781394272464.ch6.
- This work (including HTML and PDF Files) is licensed under a Creative Commons Attribution 4.0 International License.





















