Drowsy Eyes and Face Mask Detection for Car Drivers using the Embedded System

Authors

DOI:

https://doi.org/10.26594/register.v9i1.2612

Keywords:

Embedded System, Support Vector Machin, HOG, Face Mask, MobileNetV2

Abstract

Efforts to prevent the spread of the COVID-19 virus have underscored the critical importance of mask-wearing as a preventive measure. Concurrently, road traffic accidents, often resulting from human error, have emerged as a significant contributor to global mortality rates. This study endeavors to address these pressing issues by employing advanced Deep Learning techniques to detect mask usage and identify drowsy eyes, thus contributing to the prevention of COVID-19 and accidents due to driver fatigue. To achieve this objective, an embedded system was developed, utilizing the integration of hardware and software components. The system effectively utilizes MobileNetV2 for face mask detection and employs HOG and SVM algorithms for drowsy eye detection. By seamlessly integrating these detection systems into a single embedded device, the simultaneous detection of both mask usage and drowsy eyes is made possible. The results demonstrates a commendable accuracy rate of 80% for face mask detection and 75% for drowsy eye detection. Furthermore, the mask detection component exhibits a remarkable training accuracy of 99%, while the drowsy eye detection component demonstrates an 80% training accuracy, affirming the system's efficacy in precisely identifying masks and drowsy eyes. The proposed embedded system offers potential applications in enhancing road safety. Its capability to effectively detect drowsy eyes and mask usage in car drivers contributes significantly to preventing accidents due to driver fatigue. Additionally, it plays a vital role in mitigating COVID-19 transmission by promoting widespread mask-wearing among individuals. This study exemplifies the potential of integrating Deep Learning methodologies with embedded systems, thus paving the way for future research and development in the realm of driver safety and virus prevention.

Author Biographies

Rizqi Putri Nourma Budiarti, Universitas Nahdlatul Ulama Surabaya, Surabaya

Department of Information Systems

Bagoes Wahyu Nugroho, Universitas Nahdlatul Ulama Surabaya

Department of Information Systems

References

WHO, "Global Status Report on Road Safety," World Health Organization, Geneva, 2018. [Online]. Available: https://www.who.int/publications-detail/global-statusreport-on-road-safety-2018

Y.-Y. Lin and P.-A. Hsiung, “An early warning system for predicting driver fatigue,” in 2017 IEEE International Conference on Consumer Electronics-Taiwan (ICCE-TW), 2017, pp. 283–284.

C. Huda, H. Tolle, and F. Utaminingrum, “Mobile-based driver sleepiness detection using facial landmarks and analysis of EAR values,” 2020.

S. D. Lin, J.-J. Lin, and C.-Y. Chung, “Sleepy eye’s recognition for drowsiness detection,” in 2013 International Symposium on Biometrics and Security Technologies, 2013, pp. 176–179.

R. Jabbar, M. Shinoy, M. Kharbeche, K. Al-Khalifa, M. Krichen, and K. Barkaoui, “Driver drowsiness detection model using convolutional neural networks techniques for android application,” in 2020 IEEE International Conference on Informatics, IoT, and Enabling Technologies (ICIoT), 2020, pp. 237–242.

I. Gupta, N. Garg, A. Aggarwal, N. Nepalia, and B. Verma, “Real-time driver’s drowsiness monitoring based on dynamically varying threshold,” in 2018 Eleventh International Conference on Contemporary Computing (IC3), 2018, pp. 1–6.

S. Lefkovits, L. Lefkovits, and S. Emerich, “Detecting the eye and its openness with Gabor filters,” in 2017 5th International Symposium on Digital Forensic and Security (ISDFS), 2017, pp. 1–5.

W. Rahmaniar and A. Hernawan, “Real-time human detection using deep learning on embedded platforms: A review,” J. Robot. Control, vol. 2, no. 6, pp. 462–468, 2021.

P. Liu, H. Chi, X. Li, and D. Li, “Development of a fatigue detection and early warning system for crane operators: A preliminary study,” in Construction Research Congress 2020, 2020, pp. 106–115.

M. F. Shakeel, N. A. Bajwa, A. M. Anwaar, A. Sohail, and A. Khan, “Detecting driver drowsiness in real time through deep learning based object detection,” in International work-conference on artificial neural networks, 2019, pp. 283–296.

J. Cao, R. Pang, R. Ma, and Y. Qi, “Face Mask Recognition Based on MTCNN and MobileNet,” in Advances in Simulation and Process Modelling: Proceedings of the Second International Symposium on Simulation and Process Modelling (ISSPM 2020) 2, 2021, pp. 433–442.

T. Hope, Y. S. Resheff, and I. Lieder, Learning tensorflow: A guide to building deep learning systems. “ O’Reilly Media, Inc.,” 2017.

Y. S. Taspinar and M. Selek, “Object recognition with hybrid deep learning methods and testing on embedded systems,” Int. J. Intell. Syst. Appl. Eng., vol. 8, no. 2, pp. 71–77, 2020.

S. U. Rehman, M. R. Razzaq, and M. H. Hussian, “Training of SSD (single shot detector) for facial detection using Nvidia jetson nano,” arXiv Prepr. arXiv2105.13906, 2021.

J. Tang, D. Sun, S. Liu, and J.-L. Gaudiot, “Enabling deep learning on IoT devices,” Computer (Long. Beach. Calif)., vol. 50, no. 10, pp. 92–96, 2017.

P. Nagrath, R. Jain, A. Madan, R. Arora, P. Kataria, and J. Hemanth, “SSDMNV2: A real time DNN-based face mask detection system using single shot multibox detector and MobileNetV2,” Sustain. cities Soc., vol. 66, p. 102692, 2021.

G. Jignesh Chowdary, N. S. Punn, S. K. Sonbhadra, and S. Agarwal, “Face mask detection using transfer learning of inceptionv3,” in Big Data Analytics: 8th International Conference, BDA 2020, Sonepat, India, December 15--18, 2020, Proceedings 8, 2020, pp. 81–90.

M. Loey, G. Manogaran, M. H. N. Taha, and N. E. M. Khalifa, “A hybrid deep transfer learning model with machine learning methods for face mask detection in the era of the COVID-19 pandemic,” Measurement, vol. 167, p. 108288, 2021.

M. Jiang and X. Fan, “Retinamask: A face mask detector,” 2020.

Q. Abbas, “HybridFatigue: A real-time driver drowsiness detection using hybrid features and transfer learning,” Int. J. Adv. Comput. Sci. Appl., vol. 11, no. 1, 2020.

M. Kahlon and S. Ganesan, “Driver drowsiness detection system based on binary eyes image data,” in 2018 IEEE International Conference on Electro/Information Technology (EIT), 2018, pp. 209–215.

V. Pavani, M. N. Swetha, Y. Prasanthi, K. Kavya, and M. Pavithra, “Drowsy Driver Monitoring Using Machine Learning and Visible Actions,” in 2022 International Conference on Electronics and Renewable Systems (ICEARS), 2022, pp. 1269–1279.

R. R. Varghese, P. M. Jacob, J. Jacob, M. N. Babu, R. Ravikanth, and S. M. George, “An Integrated Framework for Driver Drowsiness Detection and Alcohol Intoxication using Machine Learning,” in 2021 International Conference on Data Analytics for Business and Industry (ICDABI), 2021, pp. 531–536.

A. Al Redhaei, Y. Albadawi, S. Mohamed, and A. Alnoman, “Realtime Driver Drowsiness Detection Using Machine Learning,” in 2022 Advances in Science and Engineering Technology International Conferences (ASET), 2022, pp. 1–6.

A. Celecia, K. Figueiredo, M. Vellasco, and R. González, “A portable fuzzy driver drowsiness estimation system,” Sensors, vol. 20, no. 15, p. 4093, 2020.

S. Menon, J. Swathi, S. K. Anit, A. P. Nair, and S. Sarath, “Driver face recognition and sober drunk classification using thermal images,” in 2019 International Conference on Communication and Signal Processing (ICCSP), 2019, pp. 400–404.

H. Kaufman, J. Woods, S. Dravida, and A. Tekalp, “Estimation and identification of two-dimensional images,” IEEE Trans. Automat. Contr., vol. 28, no. 7, pp. 745–756, 1983.

S. Cass, “Nvidia makes it easy to embed AI: The Jetson nano packs a lot of machine-learning power into DIY projects-[Hands on],” IEEE Spectr., vol. 57, no. 7, pp. 14–16, 2020.

A. A. Süzen, B. Duman, and B. cSen, “Benchmark analysis of jetson tx2, jetson nano and raspberry pi using deep-cnn,” in 2020 International Congress on Human-Computer Interaction, Optimization and Robotic Applications (HORA), 2020, pp. 1–5.

V. Sati, S. M. Sánchez, N. Shoeibi, A. Arora, and J. M. Corchado, “Face detection and recognition, face emotion recognition through NVIDIA Jetson Nano,” in Ambient Intelligence--Software and Applications: 11th International Symposium on Ambient Intelligence, 2021, pp. 177–185.

S. Sukaridhoto, D. K. Basuki, H. Yulianus, and R. P. N. Budiarti, “Performance Evaluation of Integrated Deep Learning Web Platform for Dataset Training,” Appl. Technol. Comput. Sci. J., vol. 2, no. 2, pp. 117–128, 2019.

Downloads

Published

2023-07-20

How to Cite

[1]
R. P. N. Budiarti, B. W. Nugroho, N. Ayunda, and S. Sukaridhoto, “Drowsy Eyes and Face Mask Detection for Car Drivers using the Embedded System”, regist. j. ilm. teknol. sist. inf., vol. 9, no. 1, pp. 86–94, Jul. 2023.

Issue

Section

Article