Skip to main content
QUICK REVIEW

[Paper Review] Drowsiness Detection Based On Driver Temporal Behavior Using a New Developed Dataset

Farnoosh Faraji, Faraz Lotfi|arXiv (Cornell University)|Mar 31, 2021
Sleep and Work-Related FatiguePsychology21 references6 citations
TL;DR

This paper proposes a hybrid deep learning approach combining YOLOv3 for real-time facial feature detection and LSTM for modeling temporal driver behavior to improve drowsiness detection. By leveraging a newly collected dataset with eye closure and yawning duration sequences, the method achieves early drowsiness prediction with 96.4% accuracy, outperforming single-CNN threshold-based methods through sequence-based temporal modeling.

ABSTRACT

Driver drowsiness detection has been the subject of many researches in the past few decades and various methods have been developed to detect it. In this study, as an image-based approach with adequate accuracy, along with the expedite process, we applied YOLOv3 (You Look Only Once-version3) CNN (Convolutional Neural Network) for extracting facial features automatically. Then, LSTM (Long-Short Term Memory) neural network is employed to learn driver temporal behaviors including yawning and blinking time period as well as sequence classification. To train YOLOv3, we utilized our collected dataset alongside the transfer learning method. Moreover, the dataset for the LSTM training process is produced by the mentioned CNN and is formatted as a two-dimensional sequence comprised of eye blinking and yawning time durations. The developed dataset considers both disturbances such as illumination and drivers' head posture. To have real-time experiments a multi-thread framework is developed to run both CNN and LSTM in parallel. Finally, results indicate the hybrid of CNN and LSTM ability in drowsiness detection and the effectiveness of the proposed method.

Motivation & Objective

  • Address the limitations of single-frame drowsiness detection by modeling temporal patterns in driver behavior.
  • Develop a new, robust dataset that accounts for illumination changes and head pose variations during drowsiness detection.
  • Improve early drowsiness prediction by combining spatial feature extraction (YOLOv3) with sequential behavior modeling (LSTM).
  • Enable real-time performance through a multi-threaded parallel processing framework for CNN and LSTM.
  • Demonstrate the superiority of sequence-based learning over static thresholding in drowsiness detection.

Proposed method

  • Employ YOLOv3 with transfer learning to detect facial landmarks (eyes, mouth, eyebrows) from video frames.
  • Extract time-series data of eye closure duration and time since last yawning to form a 2D input sequence for LSTM.
  • Train an LSTM network on the sequence data to classify drowsiness probability based on temporal patterns.
  • Implement a multi-threaded framework to run YOLOv3 and LSTM in parallel for real-time inference.
  • Use a 50% drowsiness probability threshold to trigger alerts, with dynamic threshold adjustment after yawning events.
  • Compare the hybrid LSTM-CNN system against two single-CNN strategies: one based on eye closure >5s and another with adaptive 3s threshold after yawning.

Experimental results

Research questions

  • RQ1Can a hybrid CNN-LSTM model detect drowsiness more effectively than single-frame threshold-based methods by leveraging temporal behavior sequences?
  • RQ2How does modeling eye closure duration and post-yawning time intervals improve drowsiness prediction accuracy compared to static frame analysis?
  • RQ3To what extent does the proposed multi-threaded real-time framework maintain performance while enabling parallel processing of CNN and LSTM?
  • RQ4Does the use of a newly collected, diverse dataset enhance robustness to lighting and head pose variations in drowsiness detection?
  • RQ5Can the LSTM model detect early drowsiness signs even when individual frame thresholds are not yet crossed?

Key findings

  • The hybrid LSTM-CNN system achieved 96.4% accuracy in drowsiness detection, outperforming single-CNN threshold-based approaches.
  • The LSTM model detected drowsiness earlier than the single-CNN method, with a drowsiness probability of 0.16 (16%) at 0.19s eye closure duration, before the CNN threshold was triggered.
  • Even after eye reopening, the hybrid system maintained high drowsiness probability (e.g., 0.14 in Fig. 9b), indicating sustained detection of fatigue patterns.
  • The system remained alert after yawning events, maintaining warnings for up to 2 minutes post-yawn, demonstrating effective temporal memory.
  • The multi-threaded framework enabled real-time performance by processing CNN and LSTM in parallel, supporting practical deployment.
  • The LSTM-based method successfully predicted drowsiness even when individual frame features did not exceed static thresholds, proving the value of sequence modeling.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.