Detection of Drivers Drowsiness on Four-Wheeled Vehicles using the Haar Cascade Algorithm and Eye Aspect Ratio


Maukar Maukar(1*);

(1) Gunadarma University
(*) Corresponding Author

  

Abstract


One of the most common types of threats to four-wheeled vehicle drivers is microsleep. Microsleep is a condition in which a person's loss of attention or consciousness due to a state of fatigue or drowsiness. In general, microsleep lasts for a short duration, about a fraction of a second to a full 10 seconds. One way to modify the driver's sleepy condition is to form a drowsiness detection system through the extraction of facial feature points. The extraction of facial feature points refers to 68 predictor landmarks with detection in the eyes and facial movements of the driver in the form of poses with the determination of the angle threshold of changes in the position of the face while driving which indicates a state of drowsiness. This study implements the use of the Haar Cascade Classifier algorithm in detecting the drowsiness of four-wheeled vehicle drivers and the Eye Aspect Ratio of the points that form the eyes using Euclidean Distance. In detecting the eye index on the face predictor landmarks uses the dlib python library to detect objects, face detection, and face landmark detection. This study also uses the Face Detector library to create a face detector object and a Landmark Predictor. The test results showed that the detection system was 98.33% accurate with the condition of facial features that could still be identified by the system even though the difference in face distance with the webcam acquisition tool was far away. This detection system is also able to detect driver drowsiness with an average time duration of less than 5 seconds with a distance of up to 50 meters.  The system detects drowsiness quickly with a notification in the form of a warning in the form of an alarm sound, which is very important in order to reduce the number of accidents due to drowsiness.

Keywords


Eye Aspect Ratio; Face; Haar Cascade Classifier; Landmark predictor; Microsleep.

  
  

Full Text:

PDF
  

Article Metrics

Abstract view: 22 times
PDF view: 8 times
     

Digital Object Identifier

doi  https://doi.org/10.33096/ilkom.v17i1.2362.1-11
  

Cite

References


S. Saleem, “Risk assessment of road traffic accidents related to sleepiness during driving : a systematic review,” vol. 28, no. 9, 2022.

T. K. A, R. M. M, and S. Amirifar, “Factors affecting driver injury severity in fatigue and drowsiness accidents: a data mining framework,” vol. 14, no. 1, pp. 75–88, 2022.

M. Ebrahim Shaik, “A systematic review on detection and prediction of driver drowsiness,” Transp. Res. Interdiscip. Perspect., vol. 21, no. June, p. 100864, 2023, doi: 10.1016/j.trip.2023.100864.

H. Verma et al., “Driver Drowsiness Detection,” J. Data Acquis. Process., vol. 38, no. 2, pp. 7823–7830, 2023, doi: 10.5281/zenodo.776772.

M. Lutfi, S. Zainy, G. B. Pratama, and R. R. Kurnianto, “Fatigue Among Indonesian Commercial Vehicle Drivers : A Study Examining Changes in Subjective Responses and Ocular Indicators,” vol. 14, no. June 2021, pp. 1039–1048, 2023, doi: 10.14716/ijtech.v14i5.4856.

M. R. Linda Ng Boyle, Jon Tippin, Amit Paul, “Driver performance in the moments surrounding a microsleep, Transportation Research Part F: Traffic Psychology and Behaviour,” vol. 11, no. 2, pp. 126–136, 2008.

S. H. Zaleha et al., “Microsleep Accident Prevention for SMART Vehicle via Image Processing Integrated with Artificial Intelligent,” J. Phys. Conf. Ser., vol. 2129, no. 1, pp. 1–5, 2021, doi: 10.1088/1742-6596/2129/1/012082.

M. N. S. Harsha, “Drowsiness Detection Using Haar and CNN Algorithm,” Int. J. FOOD Nutr. Sci., vol. 11, pp. 1765–1775, 2022, doi: 10.48047/IJFANS/V11/I12/187.

R. Chinthalachervu, I. Teja, M. Ajay Kumar, N. Sai Harshith, and T. Santosh Kumar, “Driver Drowsiness Detection and Monitoring System using Machine Learning,” J. Phys. Conf. Ser., vol. 2325, no. 1, pp. 769–775, 2022, doi: 10.1088/1742-6596/2325/1/012057.

H. Cahyadi, C. Supriyadi, and A. Nandar, “Drowsiness Detection with Computer Vision for Heavy Equipment Hauler,” Conf. Manag. Eng. Ind., vol. 4, no. 1, pp. 33–38, 2022.

B. B. Lim, K. Ng, and S. Ng, “Drowsiness Detection System through Eye and Mouth Analysis,” vol. 7, no. December, 2023.

M. Fauzan Rabbani and D. Wahiddin, “Haarcascade Classifier dan Eye Aspect Ratio to Identify Drowsiness Eyes in Car Drivers,” Semin. Nas. Has. Ris. Prefix-Rtr, no. Ciastech, pp. 1284–2622, 2021.

R. T. Puteri and F. Utaminingrum, “Drowsiness Detection using Combination of Haar Cascade and Convolutional Neural Network,” vol. 4, no. 3, pp. 816–821, 2020.

C. Dewi, R. C. Chen, C. W. Chang, S. H. Wu, X. Jiang, and H. Yu, “Eye Aspect Ratio for Real-Time Drowsiness Detection to Improve Driver Safety,” Electron., vol. 11, no. 19, 2022, doi: 10.3390/electronics11193183.

C. Dewi, R. C. Chen, X. Jiang, and H. Yu, “Adjusting eye aspect ratio for strong eye blink detection based on facial landmarks,” PeerJ Comput. Sci., vol. 8, no. 2020, pp. 1–21, 2022, doi: 10.7717/peerj-cs.943.

A. Kuwahara, K. Nishikawa, R. Hirakawa, H. Kawano, and Y. Nakatoh, “Eye fatigue estimation using blink detection based on Eye Aspect Ratio Mapping(EARM),” Cogn. Robot., vol. 2, no. January, pp. 50–59, 2022, doi: 10.1016/j.cogr.2022.01.003.

R. Thakur, Shivam, S. Raj, and S. Pandey, “Driver Drowsiness Detection System Using Machine Learning,” Adv. Transdiscipl. Eng., vol. 27, no. 01, pp. 31–38, 2022, doi: 10.3233/ATDE220718.

T. Zhu et al., “Research on a Real-Time Driver Fatigue Detection Algorithm Based on Facial Video Sequences,” Appl. Sci., vol. 12, no. 4, 2022, doi: 10.3390/app12042224.

S. Shrestha, “R eal T ime D rowsiness D etection S ystem U sing F acial L andmarks,” no. October 2023, 2024.

T. Suselo, B. C. Wünsche, and A. Luxton-Reilly, “Teaching and Learning 3D Transformations in Introductory Computer Graphics: A User Study,” Proc. Int. Jt. Conf. Comput. Vision, Imaging Comput. Graph. Theory Appl., vol. 1, no. Visigrapp, pp. 126–135, 2022, doi: 10.5220/0011003100003124.

M. Rizwan P. S, S. Rao, S. Balayan, N. Bhandari, and S. Choudhary, “Study and Determination of Eye Aspect Ratio Using Data Mining,” Int. J. Eng. Appl. Sci. Technol., vol. 8, no. 2, pp. 211–215, 2023, doi: 10.33564/ijeast.2023.v08i02.032.

N. Kamarudin et al., “Implementation of haar cascade classifier and eye aspect ratio for driver drowsiness detection using raspberry Pi,” Univers. J. Electr. Electron. Eng., vol. 6, no. 5, pp. 67–75, 2019, doi: 10.13189/ujeee.2019.061609.

A. Suryowinoto, A. Rohman, and W. S. Pambudi, “Implementation of the EAR Method in Detecting Drowsiness in Vehicle Drivers,” JEEE-U (Journal Electr. Electron. Eng., vol. 8, no. 1, pp. 24–35, 2024, doi: 10.21070/jeeeu.v8i1.1682.

H. Vellala, “Enhanced Drowsiness Detection System with Haar Cascade and Dlib using Eye Aspect Ratio,” pp. 1–5, 2023, doi: 10.55041/IJSREM21656.

M. Jabberi, A. Wali, B. B. Chaudhuri, and A. M. Alimi, 68 landmarks are efficient for 3D face alignment: what about more?: 3D face alignment method applied to face recognition, vol. 82, no. 27. Multimedia Tools and Applications, 2023. doi: 10.1007/s11042-023-14770-x.

P. Chakraborty, D. Roy, M. Z. Rahman, and S. Rahman, “Eye Gaze Controlled Virtual Keyboard,” Int. J. Recent Technol. Eng., vol. 8, no. 4, pp. 3264–3269, 2019, doi: 10.35940/ijrte.d8049.118419.

R. Florez, F. Palomino-Quispe, R. J. Coaquira-Castillo, J. C. Herrera-Levano, T. Paixão, and A. B. Alvarez, “A CNN-Based Approach for Driver Drowsiness Detection by Real-Time Eye State Identification,” Appl. Sci., vol. 13, no. 13, 2023, doi: 10.3390/app13137849.

K. Khabarlak and L. Koriashkina, “Fast Facial Landmark Detection and Applications: A Survey,” J. Comput. Sci. Technol., vol. 22, no. 1, pp. 12–41, 2022, doi: 10.24215/16666038.22.e02.

Y. Albadawi, A. AlRedhaei, and M. Takruri, “Real-Time Machine Learning-Based Driver Drowsiness Detection Using Visual Features,” J. Imaging, vol. 9, no. 5, 2023, doi: 10.3390/jimaging9050091.

N. Alioua, A. Amine, A. Rogozan, A. Bensrhair, and M. Rziza, “Driver head pose estimation using efficient descriptor fusion,” Eurasip J. Image Video Process., vol. 2016, no. 1, 2016, doi: 10.1186/s13640-016-0103-z.


Refbacks

  • There are currently no refbacks.


Copyright (c) 2025 Maukar

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