Manuscript Offprint

arXiv:2611.00681

ROD-Dataset: A Pedestrian-Perspective Benchmark of Urban Obstacle Classes for YOLO-Based Detection

Abtin Zandi, Ariyan Azami, Bardia Sabagh Kermani, Parsa Abbasian, Roza Ganjipour, Sarvin Nami, Hamed Farbeh

Abstract

Two groups of pedestrians face avoidable risk on the city sidewalk: people living with visual impairment, who reach an obstacle before anything warns them, and people walking with divided attention, who register a hazard late or not at all. A vision system can warn them only about obstacles it has learned to recognize, so its training data limits the protection it offers. No suitable training set exists: public benchmarks are recorded from vehicles, aerial platforms, or fixed rigs, general-purpose detectors omit the street furniture that causes trips, and pedestrian-focused collections are confined to single regions with incompatible class schemes. This paper introduces the Real-time Obstacle Detection (ROD) dataset: more than 24,000 images and 40,000 annotated obstacles across 25 classes, from vehicles and people to the stairs, manholes, traffic cones, and benches that general-purpose detectors overlook. Because street furniture differs between cities, ROD unifies twenty-nine public collections onto one taxonomy and adds eye-level imagery from two contrasting cities on two continents, Tehran and Toronto. Every label is human-verified, and each capture campaign is admitted only after a compact detector shows it can learn the class. Six lightweight YOLO detectors (nano and tiny variants) benchmarked on ROD all exceed 0.86 recall; YOLO12n attains the highest recall (0.889), YOLO26n the highest precision (0.925), and YOLOv9t the best mAP@0.50 (0.882) with the fewest parameters. Because the recall and mAP rankings disagree, selecting a model by mAP does not minimize missed obstacles, so per-class recall is reported for all 25 classes.

Keywords: Dataset, Obstacle Detection, Assistive Technology, Pedestrian Safety, YOLO, Automatic Annotation

1 Introduction

Walking through a city puts two groups of pedestrians at a risk that better perception could reduce. People living with visual impairment move without advance notice of what lies ahead, and the conventional aids available to them report only what has already come within reach [1-3]. People who walk with their attention elsewhere, whether on a screen or a conversation, surrender situational awareness briefly and voluntarily, but often enough that distracted walking has become an established contributor to collisions and falls [4, 5]. Both groups stand to gain from the same capability: a detector that recognizes what lies in the path and reports it in time. Earlier assistive-vision systems have shown that this interaction works, though each has covered only a narrow slice of the relevant object vocabulary [6, 7]. Research attention, however, has concentrated on vehicle-centric autonomous driving, leaving pedestrian-centric public safety comparatively under-explored.

Whatever model such a system uses, it can only warn about what its training data taught it to see, which makes the dataset the first limit on the safety it can provide. A detector trained without manhole covers will not announce a manhole, one trained on a single city's dustbins may not recognize another city's, and one trained from a car roof has never seen an obstacle from one meter away at eye level. General-purpose detectors identify broad categories such as cars or pedestrians effectively, but frequently fail on micro-obstacles and street furniture: manhole covers, traffic cones, plant pots, and bicycle racks are severe tripping hazards that are either absent from standard benchmarks or degraded by data scarcity once they are included. Aggregate accuracy figures can hide exactly this failure mode, since a handful of abundant classes dominate the average, so a single mAP figure cannot reveal which obstacles a detector still misses.

A dataset that meets these needs does not yet exist, and the reasons are structural rather than incidental. Existing public benchmarks are built for automotive driving scenes, aerial imagery, or indoor-domestic environments and do not capture the camera viewpoint, lighting conditions, or obstacle distribution of a pedestrian on a city sidewalk. Pedestrian-level data is expensive to produce, since every new obstacle class needs its own capture campaign and hours of manual box drawing, so the collections that do target pedestrians each reflect what one campaign in one region happened to capture. Merging these disparate open-source collections compounds the problem: it is a taxonomic challenge, since identical object categories are frequently labeled under inconsistent indices or definitions across annotation platforms, and the collections cannot be combined until their label schemes are reconciled. A standardized benchmark is needed that unifies these resources while adding real-world geographic diversity, so that a model trained on it does not overfit to one region's street furniture.

To address these limitations, this paper introduces the Real-time Obstacle Detection (ROD) dataset, a pedestrian-perspective benchmark designed to serve as a reference resource for training and evaluating obstacle detectors for pedestrian safety. Comprising more than 24,000 images and 40,000 annotated obstacles, and rather than restricting itself to a handful of classes, ROD covers the obstacle categories a pedestrian most commonly meets in a city, organized by what each demands of the walker: moving hazards that require immediate avoidance, such as vehicles, people, and dogs; the infrastructure that defines the walkable path, such as stairs, guard rails, and cross-walks; ground-level hazards that are easy to miss, such as manholes; and the street furniture that general-purpose detectors typically omit, from benches and dustbins to electrical boxes, traffic barrels, and fire hydrants. Categories that appear on both sides of a building entrance, such as stairs, chairs, and plant pots, were deliberately captured indoors as well as outdoors, so that a detector keeps working as its user walks from the street into a station or a mall, and rare but dangerous classes were kept rather than pruned, so that a model trained on ROD receives supervision for the uncommon obstacles as well as the common ones.

Because street obstacles do not look the same everywhere, ROD was built so as not to depend on any single place. It unifies twenty-nine independently authored public collections, each gathered by different contributors under different conditions, onto one consistent class taxonomy, and complements them with original imagery captured at pedestrian eye level in two deliberately contrasting cities on two continents, Tehran, Iran and Toronto, Canada, whose street furniture, signage, construction materials, climate, and lighting differ markedly. A dustbin, an electrical box, or a traffic barrel in one city does not look like its counterpart in the other, so a model trained on ROD sees the variation within each category rather than a single local appearance.

Quality is enforced throughout construction: field imagery is labeled by an automatic pipeline built on a promptable foundation segmentation model, with every label verified by a human, and each capture campaign is admitted into the release only after a compact detector demonstrates that it can learn the class. The dataset is released in the standard YOLO format with fixed train, validation, and test splits and public per-class counts, so that results reported on it are directly comparable across studies. The dataset is also learnable in practice: six compact detectors trained on ROD each find more than 86% of the obstacles in its held-out test split, and the per-class results identify exactly which obstacle types still need more data.

The contributions of this paper are:

  1. A 25-class pedestrian-perspective obstacle benchmark that combines public sources with original imagery from two continents, released with fixed splits and published per-class counts 1^{1}.

1^{1} Kaggle: https://www.kaggle.com/datasets/abtinzandi/obstacle-detection-dataset; Hugging Face: https://huggingface.co/datasets/Abtinzandi/Ostacle-Detection-Dataset-YOLO.

  1. A reproducible construction pipeline that reconciles twenty-nine heterogeneous public sources onto a single class index, released as open scripts².

  2. An automated annotation workflow built on Roboflow Workflows and SAM 3 that replaces manual box drawing with human verification for concept-promptable categories, released as the open-source AnnotationFlow tool³.

  3. A data-admission quality gate in which each field-capture campaign must be learnable by a YOLOv8n probe above a fixed accuracy threshold before it enters the release.

  4. A benchmark across six YOLO generations (v8n, v9t, v10n, 11n, 12n, 26n) with per-class recall reported for all 25 classes.

The remainder of this paper is organized as follows. Section 2 reviews existing obstacle-detection datasets; Section 3 describes the construction of ROD; Section 4 reports benchmark results. Section 5 concludes the paper.

References (26)