Skip to main content

ORIGINAL RESEARCH article

Front. Future Transp.

Sec. Transport Safety

Volume 6 - 2025 | doi: 10.3389/ffutr.2025.1545411

Real-Time Anti-Sleep Alert Algorithm to Prevent Road Accidents to Ensure Road Safety

Provisionally accepted
  • 1 Electrical Engineering, Indian Institute of Technology Indore, Indore, India
  • 2 Department of Computer Science and Engineering Motihari College of Engineering, 845401, India, Motihari, India
  • 3 Department of Computer Science and Engineering Vaishali Engineering College, India, Vaishali, India
  • 4 Škoda Auto University, Mladá Boleslav, Central Bohemia, Czechia

The final, formatted version of the article will be published soon.

    Whenever we travel from one place to another, the first priority during our journey is that, we all wish to reach safely at our destination. Ensuring driver wakefulness is crucial for road safety, as drowsiness is a leading cause of fatal accidents, resulting in physical injuries, financial losses, and loss of life. This paper proposes an anti-sleep driver detection algorithm designed specifically for four-wheelers and larger vehicles to mitigate accidents caused by driver drowsiness. The proposed algorithm leverages deep learning (DL) models, including InceptionV3, VGG16, and MobileNetV2, for real-time detection and classification of driver drowsiness. The models were trained and evaluated using comprehensive performance metrics, such as accuracy, precision, recall, F1 score, and confusion matrix. Among the tested models, InceptionV3 demonstrated superior performance, achieving an accuracy of 99.18%, a validation loss of 0.85%, and an execution time of 0.2 seconds on a Raspberry Pi platform.The proposed method outperforms the traditional approaches such as Support Vector Machines (SVM), K-Nearest Neighbors (KNN), Haar Cascade Classifiers, and other DL architectures like Xception and VGG16, in terms of accuracy and efficiency. The results suggest that the proposed algorithm provides a robust and effective solution for real-time driver drowsiness detection, contributing to enhanced safety.

    Keywords: driver drowsiness detection, Deep learning models, Real-time monitoring, InceptionV3, Transfer Learning, Eye Aspect Ratio (EAR), Raspberry Pi, Driver alert systems

    Received: 14 Dec 2024; Accepted: 12 Feb 2025.

    Copyright: © 2025 Pathak, Singh, Kumar, Bhatia and Krejcar. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.

    * Correspondence: Vimal Bhatia, Electrical Engineering, Indian Institute of Technology Indore, Indore, India

    Disclaimer: All claims expressed in this article are solely those of the authors and do not necessarily represent those of their affiliated organizations, or those of the publisher, the editors and the reviewers. Any product that may be evaluated in this article or claim that may be made by its manufacturer is not guaranteed or endorsed by the publisher.

    Research integrity at Frontiers

    Man ultramarathon runner in the mountains he trains at sunset

    94% of researchers rate our articles as excellent or good

    Learn more about the work of our research integrity team to safeguard the quality of each article we publish.


    Find out more