Comparing Haar Cascade and YOLOFACE for Region of Interest Classification in Drowsiness Detection

 Muhammad Niko Andrean (Dian Nuswantoro University, Semarang, Indonesia)
 Guruh Fajar Shidik (Dian Nuswantoro University, Semarang, Indonesia)
 (*)Muhammad Naufal Mail (Dian Nuswantoro University, Semarang, Indonesia)
 Farrikh Al Zami (Dian Nuswantoro University, Semarang, Indonesia)
 Sri Winarno (Dian Nuswantoro University, Semarang, Indonesia)
 Harun Al Azies (Dian Nuswantoro University, Semarang, Indonesia)
 Permana Langgeng Wicaksono Ellwid Putra (Dian Nuswantoro University, Semarang, Indonesia)

(*) Corresponding Author

Submitted: December 15, 2023; Published: January 10, 2024

Abstract

Driver drowsiness poses a serious threat to road safety, potentially leading to fatal accidents. Current research often relies on facial features, specific eye components, and the mouth for drowsiness classification. This causes a potential bias in the classification results. Therefore, this study shifts its focus to both eyes to mitigate potential biases in drowsiness classification.This research aims to compare the accuracy of drowsiness detection in drivers using two different image segmentation methods, namely Haar Cascade and YOLO-face, followed by classification using a decision tree algorithm. The dataset consists of 22,348 images of drowsy driver faces and 19,445 images of non-drowsy driver faces. The segmentation results with YOLO-face prove capable of producing a higher-quality Region of Interest (ROI) and training data in the form of eye images compared to segmentation results using the Haar Cascade method. After undergoing grid search and 10-fold cross-validation processes, the decision tree model achieved the highest accuracy using the entropy parameter, reaching 98.54% for YOLO-face segmentation results and 98.03% for Haar Cascade segmentation results. Despite the slightly higher accuracy of the model utilizing YOLO-face data, the YOLO-face method requires significantly more data processing time compared to the Haar Cascade method. The overall research results indicate that implementing the ROI concept in input images can enhance the focus and accuracy of the system in recognizing signs of drowsiness in drivers.

Keywords


Decision Tree; Drowsiness Detection; Haar Cascade; Region of Interest; Yolo-Face

Full Text:

PDF


Article Metrics

Abstract view : 197 times
PDF - 84 times

References

M. Ramzan, H. U. Khan, S. M. Awan, A. Ismail, M. Ilyas, and A. Mahmood, A Survey on State-of-the-Art Drowsiness Detection Techniques, IEEE Access, vol. 7, pp. 6190461919, 2019, doi: 10.1109/ACCESS.2019.2914373.

I. Stancin, M. Cifrek, and A. Jovic, A review of eeg signal features and their application in driver drowsiness detection systems, Sensors, vol. 21, no. 11, p. 29, 2021, doi: 10.3390/s21113786.

A. Joly, R. Zheng, T. Kaizuka, and K. Nakano, Effect of drowsiness on mechanical arm admittance and driving performances, IET Intell. Transp. Syst., vol. 12, no. 3, pp. 220226, 2018, doi: 10.1049/iet-its.2016.0249.

L. Salvati, M. Damore, A. Fiorentino, A. Pellegrino, P. Sena, and F. Villecco, On-road detection of driver fatigue and drowsiness during medium-distance journeys, Entropy, vol. 23, no. 2, pp. 112, 2021, doi: 10.3390/e23020135.

M. Erins and Z. Markovics, Unordinary Situation Assessment of Human Fatigue and Drowsiness in Expert Decision-Making Systems, Eng. Rural Dev., vol. 21, pp. 325331, 2022, doi: 10.22616/ERDev.2022.21.TF101.

U. Budak, V. Bajaj, Y. Akbulut, O. Atila, and A. Sengur, An effective hybrid model for EEG-based drowsiness detection, IEEE Sens. J., vol. 19, no. 17, pp. 76247631, 2019, doi: 10.1109/JSEN.2019.2917850.

V. Noreika, S. Georgieva, S. Wass, and V. Leong, 14 challenges and their solutions for conducting social neuroscience and longitudinal EEG research with infants, Infant Behav. Dev., vol. 58, no. November 2019, p. 101393, 2020, doi: 10.1016/j.infbeh.2019.101393.

Z. Liu, Y. Peng, and W. Hu, Driver fatigue detection based on deeply-learned facial expression representation, J. Vis. Commun. Image Represent., vol. 71, p. 102723, 2020, doi: 10.1016/j.jvcir.2019.102723.

M. Dua, Shakshi, R. Singla, S. Raj, and A. Jangra, Deep CNN models-based ensemble approach to driver drowsiness detection, Neural Comput. Appl., vol. 33, no. 8, pp. 31553168, 2021, doi: 10.1007/s00521-020-05209-7.

E. Magn, M. P. Sesmero, J. M. Alonso-Weber, and A. Sanchis, Driver Drowsiness Detection by Applying Deep Learning Techniques to Sequences of Images, Appl. Sci., vol. 12, no. 3, 2022, doi: 10.3390/app12031145.

H. Z. Ilmadina, M. Naufal, and D. S. Wibowo, Drowsiness Detection Based on Yawning Using Modified Pre-trained Model MobileNetV2 and ResNet50, MATRIK J. Manajemen, Tek. Inform. dan Rekayasa Komput., vol. 22, no. 3, pp. 419430, 2023, doi: 10.30812/matrik.v22i3.2785.

I. H. Kao and C. Y. Chan, Comparison of Eye and Face Features on Drowsiness Analysis, Sensors, vol. 22, no. 17, 2022, doi: 10.3390/s22176529.

I. Jahan et al., 4D: A Real-Time Driver Drowsiness Detector Using Deep Learning, Electron., vol. 12, no. 1, pp. 117, 2023, doi: 10.3390/electronics12010235.

M. U. Farooq, S. Mujeeb, H. Ali, A. Basit, M. Abdulrauf, and K. Siddhu, HUB-DDNET : A Novel Driver Drowsiness Detection Method for Real-World Applications, no. September, 2023, doi: 10.13140/RG.2.2.31225.24160.

A. Singh, H. Herunde, and F. Furtado, Modified Haar-Cascade Model for Face Detection Issues, Int. J. Res. Ind. Eng. , vol. 9, no. 2, pp. 143171, 2020, doi: 10.22105/riej.2020.226857.1129.

J. L. Lisani and S. Ramis, A contrario detection of faces with a short cascade of classifiers, Image Process. Line, vol. 9, pp. 269290, 2019, doi: 10.5201/ipol.2019.272.

G. Zhao, S. Zou, and H. Wu, Improved Algorithm for Face Mask Detection Based on YOLO-v4, Int. J. Comput. Intell. Syst., vol. 16, no. 1, 2023, doi: 10.1007/s44196-023-00286-7.

M. N. S. Harsha, Drowsiness Detection Using Haar and CNN Algorithm, Int. J. Food Nutr. Sci., vol. 11, no. 12, pp. 17651775, 2023, doi: 10.48047/ijfans/v11/i12/187.

Y. Yao, X. Zhao, H. Du, Y. Zhang, G. Zhang, and J. Rong, Classification of fatigued and drunk driving based on decision tree methods: A simulator study, Int. J. Environ. Res. Public Health, vol. 16, no. 11, 2019, doi: 10.3390/ijerph16111935.

I. Nasri, M. Karrouchi, H. Snoussi, K. Kassmi, and A. Messaoudi, Detection and Prediction of Driver Drowsiness for the Prevention of Road Accidents Using Deep Neural Networks Techniques, in WITS 2020, S. Bennani, Y. Lakhrissi, G. Khaissidi, A. Mansouri, and Y. Khamlichi, Eds., Singapore: Springer Singapore, 2022, pp. 5764.

R. Raj et al., Feature based video stabilization based on boosted HAAR Cascade and representative point matching algorithm, Image Vis. Comput., vol. 101, p. 103957, 2020, doi: 10.1016/j.imavis.2020.103957.

Gowsikraja, Thevakumaresh, and Raveena, OBJECT DETECTION USING HAAR CASCADE MACHINE LEARNING ALGORITHM, 2022. [Online]. Available: https://api.semanticscholar.org/CorpusID:250331313

F. M. Javed Mehedi Shamrat, A. Majumder, P. R. Antu, S. K. Barmon, I. Nowrin, and R. Ranjan, Human Face Recognition Applying Haar Cascade Classifier, in Pervasive Computing and Social Networking, G. Ranganathan, R. Bestak, R. Palanisamy, and . Rocha, Eds., Singapore: Springer Nature Singapore, 2022, pp. 143157.

A. Jain, Aishwarya, and G. Garg, Gun detection with model and type recognition using haar cascade classifier, Proc. 3rd Int. Conf. Smart Syst. Inven. Technol. ICSSIT 2020, no. Icssit, pp. 419423, 2020, doi: 10.1109/ICSSIT48917.2020.9214211.

W. Chen, H. Huang, S. Peng, C. Zhou, and C. Zhang, YOLO-face: a real-time face detector, Vis. Comput., vol. 37, no. 4, pp. 805813, 2021, doi: 10.1007/s00371-020-01831-7.

A. Ismail, M. Elpeltagy, M. Zaki, and K. A. El-Dahshan, Deepfake video detection: YOLO-Face convolution recurrent approach, PeerJ Comput. Sci., vol. 7, pp. 119, 2021, doi: 10.7717/PEERJ-CS.730.

Z. Yu, H. Huang, W. Chen, Y. Su, Y. Liu, and X. Wang, YOLO-FaceV2: A Scale and Occlusion Aware Face Detector, pp. 118, 2022, [Online]. Available: http://arxiv.org/abs/2208.02019

J. Liang, Z. Qin, S. Xiao, L. Ou, and X. Lin, Efficient and Secure Decision Tree Classification for Cloud-Assisted Online Diagnosis Services, IEEE Trans. Dependable Secur. Comput., vol. 18, no. 4, pp. 16321644, 2021, doi: 10.1109/TDSC.2019.2922958.

B. Charbuty and A. Abdulazeez, Classification Based on Decision Tree Algorithm for Machine Learning, J. Appl. Sci. Technol. Trends, vol. 2, no. 01, pp. 2028, 2021, doi: 10.38094/jastt20165.

M. Shaheen, T. Zafar, and S. Ali Khan, Decision tree classification: Ranking journals using IGIDI, J. Inf. Sci., vol. 46, no. 3, pp. 325339, 2020, doi: 10.1177/0165551519837176.

S. Aning and M. Przybyla-Kasperek, Comparative Study of Twoing and Entropy Criterion for Decision Tree Classification of Dispersed Data, Procedia Comput. Sci., vol. 207, no. Kes, pp. 24342443, 2022, doi: 10.1016/j.procs.2022.09.301.

Y. Miao, J. Wang, B. Zhang, and H. Li, Practical framework of Gini index in the application of machinery fault feature extraction, Mech. Syst. Signal Process., vol. 165, no. July 2021, p. 108333, 2022, doi: 10.1016/j.ymssp.2021.108333.

S. Tangirala, Evaluating the impact of GINI index and information gain on classification using decision tree classifier algorithm, Int. J. Adv. Comput. Sci. Appl., vol. 11, no. 2, pp. 612619, 2020, doi: 10.14569/ijacsa.2020.0110277.

Bila bermanfaat silahkan share artikel ini

Berikan Komentar Anda terhadap artikel Comparing Haar Cascade and YOLOFACE for Region of Interest Classification in Drowsiness Detection

Refbacks

  • There are currently no refbacks.


Copyright (c) 2024 JURNAL MEDIA INFORMATIKA BUDIDARMA

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.



JURNAL MEDIA INFORMATIKA BUDIDARMA
STMIK Budi Darma
Secretariat: Sisingamangaraja No. 338 Telp 061-7875998
Email: mib.stmikbd@gmail.com

Creative Commons License
This work is licensed under a Creative Commons Attribution 4.0 International License.