A Driver Fatigue Recognition Algorithm Based on Spatio-Temporal Feature Sequence

Chen Zhang, Xiaobo Lu, Zhiliang Huang

Introduction

Fatigue driving remains a critical factor in road traffic accidents worldwide. While advancements in deep learning have significantly improved the accuracy of pattern recognition systems, many state-of-the-art models are computationally intensive, requiring high-end GPUs that are impractical for real-time deployment in vehicles. This research addresses the "embedded deployment" gap by proposing a lightweight, high-accuracy fatigue recognition system optimized for low-power platforms like the NVIDIA Jetson TX2.

Methodology

The proposed system utilizes a three-stage pipeline designed to balance computational efficiency with detection precision.

1. Optimized Face Detection

The system begins with a modified Multi-task Cascaded Convolutional Network (MTCNN). To reduce the parameter count and computational overhead, the researchers replaced the traditional heavy fully connected layers in the R-Net and O-Net stages with Global Average Pooling (GAP). This modification maintains detection robustness while reducing forward computing time by approximately 50%.

2. Multi-task Landmark and Pose Estimation

Following face detection, a multi-task learning network simultaneously estimates facial landmarks and head pose. This network leverages Depthwise Separable Convolutions (DSC) to decompose standard convolutions into lighter, more efficient operations. To mitigate the risk of gradient disappearance in deeper layers, "Shortcut Structures" similar to those in ResNet are incorporated.

Architecture of the multi-task network for landmark and pose estimation, featuring Depthwise Separable Convolutions (DSC) and shortcut structures.

The multi-task approach not only reduces the total number of models running in parallel but also improves the accuracy of head pose estimation by exploiting the implicit correlation between landmark positions and head orientation.

3. Spatio-Temporal Fatigue Recognition

Fatigue is inherently a temporal process; a single frame showing closed eyes might represent a natural blink rather than a dangerous microsleep. To capture this temporal context, the system employs a Long Short-Term Memory (LSTM) network. The LSTM processes a spatio-temporal feature sequence derived from four metrics: left eye state, right eye state, mouth opening degree (yawning), and head pitch angle (nodding).

The temporal sliding window mechanism used for fatigue recognition, processing sequences of feature vectors through a classifier.

As shown in the sliding window diagram, the system maintains a queue of features. When a new frame is processed, the oldest feature is discarded, and the new one is added, allowing the classifier to evaluate the duration and sequence of facial actions in real-time without redundant calculations.

Experimental Results

The algorithm was evaluated on the NVIDIA Jetson TX2 using a combination of standard benchmarks (FDDB, 300-W) and a custom laboratory dataset designed to simulate real-world driving behaviors.

  • Real-time Performance: The optimized face detection stage achieved a speed of 32.3 FPS, a significant improvement over the original MTCNN's 21.7 FPS.
  • Detection Accuracy: Face detection accuracy remained high at 92.1%. For facial landmarks, the model achieved a lower error rate (6.10%) than established algorithms like SDM and LBF.
  • Fatigue Recognition: The system reached a peak fatigue recognition accuracy of 91.6% using a 120-frame sliding window.

Conclusion

By integrating lightweight architectural components like Global Average Pooling and Depthwise Separable Convolutions with a temporal LSTM-based classifier, this research demonstrates that high-accuracy driver fatigue detection is achievable on embedded hardware. Future work will focus on improving robustness across diverse lighting conditions and camera angles to facilitate commercial deployment.

Summary updated

BibTeX
@inproceedings{zhang2019driver,
  author = {Chen Zhang and Xiaobo Lu and Zhiliang Huang},
  title = {{A Driver Fatigue Recognition Algorithm Based on Spatio-Temporal Feature Sequence}},
  booktitle = {CISP-BMEI},
  year = {2019},
  doi = {10.1109/cisp-bmei48845.2019.8965990},
}
Figure