CeyMo: See More on Roads - A Novel Benchmark Dataset for Road Marking Detection

Oshada Jayasinghe, Sahan Hemachandra, Damith Anhettigama, Shenali Kariyawasam, Ranga Rodrigo, Peshala Jayasekara

Abstract

In this paper, we introduce a novel road marking benchmark dataset for road marking detection, addressing the limitations in the existing publicly available datasets such as lack of challenging scenarios, prominence given to lane markings, unavailability of an evaluation script, lack of annotation formats and lower resolutions. Our dataset consists of 2887 total images with 4706 road marking instances belonging to 11 classes. The images have a high resolution of 1920 x 1080 and capture a wide range of traffic, lighting and weather conditions. We provide road marking annotations in polygons, bounding boxes and pixel-level segmentation masks to facilitate a diverse range of road marking detection algorithms. The evaluation metrics and the evaluation script we provide, will further promote direct comparison of novel approaches for road marking detection with existing methods. Furthermore, we evaluate the effectiveness of using both instance segmentation and object detection based approaches for the road marking detection task. Speed and accuracy scores for two instance segmentation models and two object detector models are provided as a performance baseline for our benchmark dataset.

Introduction

While lane detection has seen significant progress, the detection of specific road markings—such as arrows, text, and symbols—remains a less researched area. Existing datasets often suffer from low resolution, a lack of environmental diversity (e.g., rain or night scenes), and a lack of standardized evaluation scripts. Furthermore, many datasets provide only one type of annotation, limiting the types of algorithms researchers can test. Road markings are essential for safe navigation, yet they are easily obscured by traffic, degraded by weather, or distorted by camera perspective. The CeyMo dataset was created to provide a more rigorous, real-world testing ground for the computer vision systems powering Advanced Driver Assistance Systems (ADAS).

The CeyMo Dataset

The core contribution of this work is the CeyMo dataset, which features 2,887 high-resolution images (1920 × 1080) containing 4,706 instances across 11 categories. These categories include various directional arrows, Pedestrian Crossings, Junction Boxes, and text-based markings like "Slow" or "Bus Lane."

The CeyMo dataset captures a wide variety of environmental conditions: (a) Dazzle light, (b) Normal, (c) Rain, (d) Night, (e) Crowded, and (f) Shadow.

To ensure robustness, the test set is explicitly divided into six challenging categories: Normal, Crowded, Dazzle light, Night, Rain, and Shadow. Compared to older benchmarks like the Road Marking dataset, TRoM, and VPGNet, CeyMo offers higher resolution and more varied environmental conditions.

Methodology

The researchers evaluated two distinct computer vision pipelines to establish a performance baseline:

  1. Object Detection with Inverse Perspective Transform (IPT): To combat perspective distortion where markings appear compressed at a distance, IPT is used to create a "bird’s-eye view." SSD (Single Shot MultiBox Detector) models with MobileNet-v1 and Inception-v2 backbones were then applied to detect markings as bounding boxes.
  2. Instance Segmentation: Mask R-CNN (with Inception-v2 and ResNet-50 backbones) was used to predict pixel-level masks for each marking directly from the original image. This approach identifies the exact shape of the marking rather than just a surrounding box.

To handle class imbalance, such as the high frequency of "Straight Arrows" versus the rarity of "Cycle Lanes," the team employed data augmentation techniques, including horizontal flipping for symmetrical classes.

Key Results and Insights

The evaluation revealed that instance segmentation currently outperforms traditional object detection for this task. The Mask R-CNN with ResNet-50 backbone achieved the highest overall F1-score of 90.62. In contrast, the fastest model, SSD-MobileNet-v1, achieved 83 FPS but with a lower F1-score of 82.90.

The "Rain" scenario presents significant challenges for detection models due to reflections on wet asphalt that can mimic the appearance of white paint.

Environmental Sensitivity

All models struggled most with the "Rain" and "Crowded" scenarios. In rainy conditions, reflections on the asphalt can lead to false positives or missed detections. In crowded scenes, markings are often partially obscured by other vehicles. While the best model hits a 94.14 F1-score under "Normal" conditions, performance drops to 85.78 in "Crowded" scenes and 89.08 in "Rain."

Conclusion

CeyMo provides a comprehensive benchmark for road marking detection, highlighting the trade-offs between speed and accuracy. While instance segmentation offers superior precision, its lower frame rates (e.g., 13 FPS for Mask R-CNN) pose challenges for high-speed autonomous driving. Future research should focus on developing lightweight models that maintain high accuracy while reaching real-time inference speeds. The dataset and evaluation script are publicly available to facilitate further research.

Summary updated

Abstract

In this paper, we introduce a novel road marking benchmark dataset for road marking detection, addressing the limitations in the existing publicly available datasets such as lack of challenging scenarios, prominence given to lane markings, unavailability of an evaluation script, lack of annotation formats and lower resolutions. Our dataset consists of 2887 total images with 4706 road marking instances belonging to 11 classes. The images have a high resolution of 1920 x 1080 and capture a wide range of traffic, lighting and weather conditions. We provide road marking annotations in polygons, bounding boxes and pixel-level segmentation masks to facilitate a diverse range of road marking detection algorithms. The evaluation metrics and the evaluation script we provide, will further promote direct comparison of novel approaches for road marking detection with existing methods. Furthermore, we evaluate the effectiveness of using both instance segmentation and object detection based approaches for the road marking detection task. Speed and accuracy scores for two instance segmentation models and two object detector models are provided as a performance baseline for our benchmark dataset. The dataset and the evaluation script is publicly available at https://github.com/oshadajay/CeyMo.
BibTeX
@inproceedings{jayasinghe2022ceymo,
  author = {Oshada Jayasinghe and Sahan Hemachandra and Damith Anhettigama and Shenali Kariyawasam and Ranga Rodrigo and Peshala Jayasekara},
  title = {{CeyMo: See More on Roads - A Novel Benchmark Dataset for Road Marking Detection}},
  booktitle = {IEEE/CVF Winter Conference on Applications of Computer Vision},
  year = {2022},
  doi = {10.1109/wacv51458.2022.00344},
}
Figure