Convolutional Two-Stream Network Using Multi-Facial Feature Fusion for Driver Fatigue Detection

Zengwei Yao (姚增伟), Weihuang Liu, Jinhao Qian, Zengwei Yao, Xintao Jiao, Jiahui Pan

TL;DR

This paper introduces a novel driver fatigue detection system that combines static and dynamic facial features using a two-stream convolutional neural network (CNN). By focusing on key facial regions (eyes and mouth) and incorporating gamma correction for improved image quality, the system achieves a high accuracy of 97.06% on a challenging dataset, outperforming existing methods.

What Problem Does This Paper Address?

Driver fatigue is a significant contributor to road accidents, increasing the risk of crashes by four to six times. While various methods exist for detecting fatigue, they often rely on intrusive physiological sensors (like EEG) or are limited by external factors (vehicle-based methods). Computer vision-based approaches offer a non-intrusive and potentially more robust solution. However, accurately detecting fatigue from video alone is challenging due to variations in lighting, facial expressions, and the subtle nature of fatigue cues. Existing vision-based methods often struggle with capturing both static facial characteristics and dynamic movements indicative of fatigue, leading to suboptimal performance.

Methods

The proposed system employs a multi-stage approach:

  • Face Detection and Key Area Positioning: The Multi-Task Cascaded Convolutional Neural Network (MTCNN) is used for robust face detection and alignment. This allows for precise localization of the left eye and mouth regions, which are critical for fatigue detection.
  • Gamma Correction: To mitigate the impact of varying lighting conditions (over/underexposure) on image quality, gamma correction is applied. This enhances image contrast and improves the robustness of subsequent feature extraction.
  • Feature Extraction:
    • Static Features: Standard CNNs are used to extract features from the preprocessed (gamma-corrected) images of the left eye and mouth.
  • Dynamic Features: Optical flow, specifically calculated using the Farneback algorithm, is employed to capture the motion information within the eye and mouth regions. This dynamic information is crucial for distinguishing actions like yawning from speaking, which can appear similar in static images.
  • Two-Stream Network Fusion: A two-stream CNN architecture is utilized. One stream processes the static features from the facial regions, while the other processes the dynamic features derived from optical flow. These streams are then fused to combine both spatial and temporal information for a more comprehensive understanding of the driver's state.
  • Classification: The fused features are fed into a final classification layer to predict the driver's state (e.g., normal, drowsy, yawning).

Datasets

The primary dataset used for training and evaluation is the National Tsing Hua University-Driver Drowsiness Detection (NTHU-DDD) dataset. This dataset comprises video clips of 36 subjects under various simulated driving conditions (daytime/nighttime, with/without glasses) and includes a range of driver states such as normal driving, yawning, slow blink rate, falling asleep, and laughing. The dataset is noted for its diversity and challenging scenarios.

Key Insights and Ideas

  • Focusing on Partial Facial Features: Instead of processing the entire face, the system's effectiveness is significantly boosted by concentrating on the left eye and mouth regions. These areas contain the most direct indicators of fatigue.
  • The Power of Dynamic Information: Static images alone are insufficient for accurate fatigue detection. Optical flow, capturing the subtle movements of the eyes and mouth over time, provides crucial dynamic cues that static images miss, leading to better discrimination between similar-looking actions.
  • Gamma Correction for Robustness: The simple yet effective application of gamma correction significantly improves the system's performance, especially in challenging lighting conditions like nighttime driving, by enhancing image contrast and reducing calculation errors.
  • Two-Stream Architecture for Fusion: Combining static and dynamic feature streams in a single network allows for a more holistic representation of driver state, leading to higher accuracy than methods relying on only one type of information.

Key Results

The proposed Gamma Fatigue Detection Network (GFDN) achieved an impressive average accuracy of 97.06% on the NTHU-DDD dataset. This performance surpassed existing state-of-the-art methods across various scenarios. Notably, the GFDN showed a 2% improvement in accuracy in night environments compared to a version without gamma correction (FDN). When features extracted before the final classification layer were tested with other classifiers (KNN, CDNN, SVM, RF), the GFDN still maintained a high average accuracy of 97.06%.

Limitations and Future Work

  • Limitations:
    • The paper notes that while the system performs well, misclassifications can occur, particularly between "normal" and "drowsiness" or "talking" states. This is partly attributed to the dataset labeling, where some "talking" clips might appear normal, and some "drowsiness" images show only minor eye sleepiness.
  • The reliance on partial facial images means that if these regions are occluded or not visible, the system's performance would be compromised.
  • Future Work: The authors suggest that further improvements could be made by exploring more advanced feature fusion techniques and potentially incorporating other facial cues or contextual information. The current work provides a strong foundation for real-time, non-intrusive driver fatigue monitoring.

Summary updated

BibTeX
@article{2019convolutional,
  author = {Zengwei Yao (姚增伟) and Weihuang Liu and Jinhao Qian and Zengwei Yao and Xintao Jiao and Jiahui Pan},
  title = {{Convolutional Two-Stream Network Using Multi-Facial Feature Fusion for Driver Fatigue Detection}},
  journal = {Future Internet},
  year = {2019},
  doi = {10.3390/fi11050115},
}
Figure