Lightweight YOLOM-Net for Automatic Identification and Real-Time Detection of Fatigue Driving

Shanmeng Zhao, Yingning Peng, Yaqing Wang, Gang Li, Mohammed Al‐Mahbashi2025

Abstract

Fatigued driving remains a critical global safety concern, contributing to a significant percentage of fatal traffic accidents. While computer vision offers a non-invasive solution for monitoring driver state, existing deep learning models often struggle to balance high accuracy with the low computational requirements of automotive embedded systems. This paper presents YOLOM-Net, a lightweight detection framework designed for real-time edge deployment. By integrating a MobileNetv3 backbone with Channel Prior Convolutional Attention (CPCA), YOLOM-Net achieves 95.75% fatigue detection accuracy at 47 FPS on hardware like the NVIDIA Jetson Orin NX.

Introduction

The human and economic costs of fatigued driving are staggering. Statistics indicate that nearly 50% of traffic accidents in China and over 20% of fatal crashes in the United States are linked to driver exhaustion. Traditional detection methods, such as EEG-based physiological monitoring, are often too intrusive for daily use, while vehicle-based systems (e.g., lane departure warnings) may only trigger after a dangerous situation has already developed.

Computer vision-based facial analysis is the most promising alternative. However, developers face a "Goldilocks" dilemma: heavy models like Faster R-CNN provide high precision but cannot run in real-time on vehicle hardware, while ultra-lightweight models often fail to capture the subtle facial cues—such as micro-sleeps or yawning—necessary for reliable safety. YOLOM-Net addresses this gap by optimizing the YOLOv8 architecture for maximum efficiency without sacrificing critical detection performance.

The YOLOM-Net Framework

The core of YOLOM-Net is a series of architectural optimizations aimed at reducing parameter count while maintaining feature extraction capabilities.

The YOLOM-Net pipeline for processing input images into localized face data for fatigue analysis.

1. MobileNetv3 Backbone

The researchers replaced the standard CSPDarknet backbone of YOLOv8 with MobileNetv3. This shift leverages depth-wise separable convolutions, which separate spatial filtering from channel-wise combinations. This optimization reduces the computational load by approximately 8 to 9 times compared to standard convolutions, allowing the model to operate with only 2.64 million parameters.

2. Channel Prior Convolutional Attention (CPCA)

To compensate for the reduced parameter count, the network incorporates CPCA. This attention mechanism directs the model's focus toward the most informative facial regions—specifically the eyes and mouth—while maintaining spatial context. This ensures that even with a lightweight backbone, the model can identify the fine-grained details required for fatigue assessment.

3. Focal-EIOU Loss

Training is enhanced using the Focal-EIOU loss function. This approach accelerates convergence and improves the model's ability to handle the imbalance between high-quality facial samples and background noise, leading to more robust bounding box regression.

Fatigue Detection Logic

Once YOLOM-Net identifies the driver's face, the system utilizes the Dlib toolkit to map 68 facial landmarks. These landmarks are used to calculate two key metrics:

  • Eye Aspect Ratio (EAR): Measures the degree of eye opening. A threshold of EAR < 0.2 indicates closed eyes.
  • Mouth Aspect Ratio (MAR): Measures mouth opening. A threshold of MAR > 0.5 indicates yawning.

To minimize false positives from natural blinking or speaking, the system employs temporal thresholding. Fatigue is only triggered if the EAR remains below the threshold for 50 consecutive frames or if the MAR exceeds its threshold for 30 consecutive frames.

Experimental Results

The model was validated using a hybrid dataset of 5,930 images, combining public benchmarks (Helen FACE and 300W) with a self-made dataset of drivers in real-world cabin environments.

Metric YOLOM-Net Performance
Face Detection mAP 96.71%
Fatigue Detection mAP 95.75%
Inference Speed 47 FPS
Parameters 2.64M

When compared to YOLOv5, YOLOM-Net achieved higher accuracy with less than half the parameters. Furthermore, its 47 FPS performance on the NVIDIA Jetson Orin NX comfortably exceeds the 30 FPS requirement for real-time automotive safety applications.

Conclusion and Future Directions

YOLOM-Net demonstrates that lightweight architectures can achieve high-precision results through targeted optimizations like depth-wise convolutions and specialized attention mechanisms. Future work will focus on integrating auditory alert systems, further optimizing the model for lower-cost single-chip microcomputers, and testing robustness in extreme weather conditions and with various types of eyewear.

Summary updated

BibTeX
@inproceedings{zhao2025lightweight,
  author = {Shanmeng Zhao and Yingning Peng and Yaqing Wang and Gang Li and Mohammed Al‐Mahbashi},
  title = {{Lightweight YOLOM-Net for Automatic Identification and Real-Time Detection of Fatigue Driving}},
  booktitle = {Computers,},
  year = {2025},
  doi = {10.32604/cmc.2025.059972},
}
Figure