Real-Time Driver Drowsiness Detection Using Facial Analysis and Machine Learning Techniques.

Journal: Sensors (Basel, Switzerland)
PMID:

Abstract

Drowsy driving poses a significant challenge to road safety worldwide, contributing to thousands of accidents and fatalities annually. Despite advancements in driver drowsiness detection (DDD) systems, many existing methods face limitations such as intrusiveness and delayed reaction times. This research addresses these gaps by leveraging facial analysis and state-of-the-art machine learning techniques to develop a real-time, non-intrusive DDD system. A distinctive aspect of this research is its systematic assessment of various machine and deep learning algorithms across three pivotal public datasets, the NTHUDDD, YawDD, and UTA-RLDD, known for their widespread use in drowsiness detection studies. Our evaluation covered techniques including the K-Nearest Neighbors (KNNs), support vector machines (SVMs), convolutional neural networks (CNNs), and advanced computer vision (CV) models such as YOLOv5, YOLOv8, and Faster R-CNN. Notably, the KNNs classifier reported the highest accuracy of 98.89%, a precision of 99.27%, and an F1 score of 98.86% on the UTA-RLDD. Among the CV methods, YOLOv5 and YOLOv8 demonstrated exceptional performance, achieving 100% precision and recall with mAP@0.5 values of 99.5% on the UTA-RLDD. In contrast, Faster R-CNN showed an accuracy of 81.0% and a precision of 63.4% on the same dataset. These results demonstrate the potential of our system to significantly enhance road safety by providing proactive alerts in real time.

Authors

  • Siham Essahraui
    Multidisciplinary Faculty of Nador, Mohammed Premier University, Oujda 60000, Morocco.
  • Ismail Lamaakal
    Multidisciplinary Faculty of Nador, Mohammed Premier University, Oujda 60000, Morocco.
  • Ikhlas El Hamly
    Multidisciplinary Faculty of Nador, Mohammed Premier University, Oujda 60000, Morocco.
  • Yassine Maleh
    Laboratory LaSTI, ENSAK, Sultan Moulay Slimane University, Khouribga 54000, Morocco.
  • Ibrahim Ouahbi
    Multidisciplinary Faculty of Nador, Mohammed Premier University, Oujda 60000, Morocco.
  • Khalid El Makkaoui
    Multidisciplinary Faculty of Nador, Mohammed Premier University, Oujda 60000, Morocco.
  • Mouncef Filali Bouami
    Multidisciplinary Faculty of Nador, Mohammed Premier University, Oujda 60000, Morocco.
  • Pawel Plawiak
    Institute of Telecomputing, Faculty of Physics, Mathematics and Computer Science, Cracow University of Technology, Krakow, Poland.
  • Osama Alfarraj
    Computer Science Department, Community College, King Saud University, Riyadh 11437, Saudi Arabia.
  • Ahmed A Abd El-Latif
    Department of Mathematics and Computer Science, Faculty of Science, Menoufia University, Shebin El-Koom 32511, Egypt.