Introduction
Lane detection is a cornerstone of autonomous driving and Advanced Driver Assistant Systems (ADAS). However, it remains a significant challenge: models must be accurate enough to handle complex curves and varying lighting conditions, yet efficient enough to run in real-time on a vehicle's limited onboard hardware.
Traditional computer vision methods based on edges or color often fail when environmental conditions shift. Conversely, modern Deep Convolutional Neural Networks (DCNNs) are robust but typically rely on heavy down-sampling to capture large-scale objects. This down-sampling discards fine-grained spatial details necessary to precisely locate thin lane markings. This research introduces the Lane Marking Detector (LMD) to bridge this gap by maintaining high spatial resolution without increasing computational costs.
Methodology
The LMD framework utilizes a streamlined encoder-decoder architecture optimized for both precision and speed.
Network Architecture
The LMD architecture featuring dilated convolutions and an asymmetric decoder. Efficient Road Lane Marking Detection with Deep Learning, page 2
- Modified Encoder-Decoder: Based on a variant of VGG16, the encoder removes fully connected layers to save memory. Crucially, it retains only the first three max-pooling layers. This results in feature maps that are four times larger than standard architectures, preserving the spatial information of lane markings.
- Dilated Convolutions: To compensate for reduced down-sampling, dilated convolutions are used in the later stages of the encoder. This expands the "receptive field," allowing the network to perceive a wider road area without losing resolution or adding extra parameters.
- Asymmetric Decoder: Unlike symmetrical models like SegNet, LMD uses a simplified 7-layer decoder to maximize inference speed.
Post-Processing Pipeline
The LMD pipeline: from raw input to polynomial curve fitting. Efficient Road Lane Marking Detection with Deep Learning, page 1
Following the neural network inference, a multi-step pipeline extracts usable lane data:
- Supermarking: Pixels are clustered using Connected Component Labeling (CCL).
- Grouping: A custom cost function—balancing geometric distance and directionality—links these clusters into full lanes.
- Curve Fitting: A 3rd-order polynomial ($y = ax^3 + bx^2 + cx + d$) models the lanes, accurately representing sharp curves.
Datasets and Evaluation
The model was primarily evaluated on the CamVid road scene dataset. To enhance performance, the authors utilized an ensemble for pre-training that included the KITTI real-world automotive dataset and SYNTHIA, a large-scale synthetic dataset of urban scenes.
Key Insights
- Resolution vs. Receptive Field: LMD demonstrates that dilated convolutions allow a network to maintain high resolution while achieving a large view, which is vital for detecting thin, elongated structures like road lines.
- Class Weighting Dynamics: Adjusting class weights acts as a "thickness" control. Increasing the weight of the lane class improves Class Accuracy but can decrease Intersection-over-Union (IoU) by introducing false-positive "bloat."
- Efficiency through Asymmetry: High-resolution feature maps from the encoder allow for a significantly stripped-down decoder without sacrificing performance.
Results
LMD achieves superior performance metrics compared to standard models:
- Speed: LMD reached 34.4 FPS on a single GTX 1080 GPU, a 22.4% speedup over SegNet (28.1 FPS).
- Model Size: The footprint was reduced to 66 MB, nearly half the size of SegNet (117 MB).
- Accuracy: On the CamVid dataset, LMD reached a mean IoU (mIoU) of 65.2%, significantly outperforming SegNet (55.6%) and ENet (51.3%).
Conclusion
While LMD shows impressive results on standard benchmarks, future work is required to address performance on actual embedded automotive processors. Additionally, while the 3rd-order polynomial handles curves well, further research is needed to manage topological changes such as lane splits or merges.
Summary updated