Driver Behavior Analysis Using Lane Departure Detection Under Challenging Conditions

Luis G. Riera, Koray Ozcan, Jennifer Merickel, Matthew Rizzo, Soumik Sarkar, Anuj SharmaarXiv 2019

Abstract

This paper presents a robust system for detecting lane departures and partial "incursions" using low-resolution, noisy video from mobile cameras. Unlike traditional systems that rely on edge-based line detection, the proposed method utilizes Mask R-CNN to segment entire lane regions, followed by Kalman filtering for signal smoothing. Evaluated on a custom dataset of older drivers, the system achieved a mean Average Precision (mAP) of 0.82 for segmentation and an 81.8% sensitivity in identifying unsafe driving behaviors, including difficult-to-detect lane incursions.

Introduction

Standard Lane Departure Warning (LDW) systems often struggle in challenging environments such as heavy shadows, sharp curves, or low-visibility night driving. These systems typically rely on low-level image features like edges to identify lane markings, which are easily obscured or faded. Furthermore, there is a need for systems that can analyze long-term driver behavior, particularly for at-risk populations like elderly drivers with medical conditions. This research addresses these gaps by developing a deep learning-based approach to distinguish between full lane changes and "lane incursions"—events where a driver briefly drifts out of a lane before correcting.

Methodology

The core of the system is a transition from traditional line detection to deep learning-based region segmentation.

  1. Lane Segmentation: A Mask R-CNN model with a ResNet-50 backbone identifies the entire driving lane as a polygon mask. This approach is significantly more stable than line detection in noisy or low-resolution video, as the general "blob" of the lane region remains detectable even when lines disappear.
  2. Centroid Tracking and Smoothing: The system calculates the centroid of the lane mask's convex hull. To mitigate jitter from mobile-mounted cameras, a Fix-lag Kalman filter is applied to the centroid's horizontal and vertical offsets.
  3. Behavior Classification: By analyzing the temporal patterns of the smoothed centroid coordinates, the algorithm classifies events into three categories: Left/Right Lane Change, Lane Incursion (incomplete departure), and No Change (steady driving).
Lane segmentation masks generated by Mask R-CNN under various lighting and environmental conditions (a-d).

Datasets

The study utilized a unique custom dataset collected from a clinical study of 77 legally licensed older drivers (ages 65–90). The dataset comprises nearly 19.3 years of total driving time recorded at a resolution of 752x480 at 25 fps, mimicking the "noisy" reality of mobile-mounted cameras. For training, 4,162 images were manually annotated. Testing was conducted on 30 diverse video segments containing verified lane-crossing events.

Key Results

The Mask R-CNN model demonstrated high reliability, achieving a mean Average Precision (mAP) of 0.82 across various conditions, including nighttime and heavy shadows. The overall system sensitivity for detecting lane departure events was 81.81%. Notably, the algorithm successfully detected two out of three verified lane incursions, a task often missed by traditional LDW systems. Furthermore, by centering and normalizing the offset data, the model becomes "camera agnostic," allowing for varied mounting positions on the windshield without losing signal validity.

Conclusion and Future Work

The proposed region-based segmentation approach offers a robust alternative to traditional lane detection, particularly for analyzing driver behavior in real-world, messy data. While promising, the authors note that the model is still susceptible to "offset noise" during detection. Future work will focus on reducing these false positives and expanding the model's training to include a wider variety of vehicle classes and proximity sensing for holistic hazard analysis.

Summary updated

Abstract

In this paper, we present a novel model to detect lane regions and extract lane departure events (changes and incursions) from challenging, lower-resolution videos recorded with mobile cameras. Our algorithm used a Mask-RCNN based lane detection model as pre-processor. Recently, deep learning-based models provide state-of-the-art technology for object detection combined with segmentation. Among the several deep learning architectures, convolutional neural networks (CNNs) outperformed other machine learning models, especially for region proposal and object detection tasks. Recent development in object detection has been driven by the success of region proposal methods and region-based CNNs (R-CNNs). Our algorithm utilizes lane segmentation mask for detection and Fix-lag Kalman filter for tracking, rather than the usual approach of detecting lane lines from single video frames. The algorithm permits detection of driver lane departures into left or right lanes from continuous lane detections. Preliminary results show promise for robust detection of lane departure events. The overall sensitivity for lane departure events on our custom test dataset is 81.81%.
BibTeX
@misc{riera2019driver,
  author = {Luis G. Riera and Koray Ozcan and Jennifer Merickel and Matthew Rizzo and Soumik Sarkar and Anuj Sharma},
  title = {{Driver Behavior Analysis Using Lane Departure Detection Under Challenging Conditions}},
  year = {2019},
  eprint = {1906.00093},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1906.00093},
}
Figure