ROD-Dataset

A pedestrian-perspective benchmark for real-time obstacle detection: 24,326 eye-level images and 40,195 human-verified bounding boxes across 25 urban obstacle classes, from cars and people to stairs, open manholes, traffic cones and benches. Ready to train with any YOLO model.

Read the paperarXiv:2611.00681DOI 10.57967/hf/9144

Downloads

Total downloads
105,683
Kaggle
6,547
61 upvotes ·9,166 views
Hugging Face
99,136
9,803 last month · 21 likes

Live counts from Kaggle and Hugging Face, last checked .

What’s inside

Every label is human-verified. Images come from 29 public collections unified onto one taxonomy, plus our own eye-level captures in Tehran and Toronto.

  • 24,326eye-level images
  • 40,195annotated obstacles
  • 25obstacle classes
  • 1.53 GBdownload size

Splits

SplitImages
Train19,186
Validation3,511
Test1,629

Format: YOLO (Darknet TXT, normalized xywh) + data.yaml.

The 25 classes

  1. Bike
  2. Building
  3. Car
  4. Person
  5. Stairs
  6. Traffic sign
  7. Electrical Pole
  8. Road
  9. Motorcycle
  10. Dustbin
  11. Dog
  12. Manhole
  13. Tree
  14. Guard rail
  15. Pedestrian crosswalk
  16. Truck
  17. Bus
  18. Bench
  19. Traffic Cone
  20. Fire hydrant
  21. Teraffic Barrel
  22. Plant Pot
  23. Electrical Box
  24. Chair
  25. Bicycle Rack

Listed in data.yaml index order (0–24).

How to download

Pick either source; both hold the same images and labels. Each command below can be copied with one click.

Kaggle

  1. In the browser: open the dataset page, sign in, and press Download. Unzip the archive; the images and labels are in ROD-Dataset/dataset/.
  2. With Python (kagglehub):
    pip install kagglehub
    import kagglehub
    
    path = kagglehub.dataset_download("abtinzandi/obstacle-detection-dataset")
    print("ROD-Dataset is in:", path)
  3. With the Kaggle CLI (needs an API token from Kaggle → Settings → API):
    pip install kaggle
    kaggle datasets download -d abtinzandi/obstacle-detection-dataset -p ./rod --unzip
  4. In a Kaggle notebook: press + Add Input, search “obstacle-detection-dataset” by abtinzandi, and it mounts under /kaggle/input/.

Hugging Face

  1. In the browser: browse or download files on the dataset page (Files and versions tab).
  2. With the hf CLI:
    pip install -U huggingface_hub
    hf download Abtinzandi/Obstacle-Detection-Dataset-YOLO --repo-type dataset --local-dir ./rod
  3. With Python (huggingface_hub):
    from huggingface_hub import snapshot_download
    
    path = snapshot_download(
        repo_id="Abtinzandi/Obstacle-Detection-Dataset-YOLO",
        repo_type="dataset",
        local_dir="./rod",
    )
    print("ROD-Dataset is in:", path)

The repository root holds data.yaml and the train/, valid/ and test/ folders.

Train a YOLO model on it

data.yaml uses relative paths, so point it at the folder you downloaded first. This works for either source:

from pathlib import Path
import yaml
from ultralytics import YOLO  # pip install ultralytics

# Find data.yaml wherever the download landed (./rod, or the kagglehub path)
root = next(Path("./rod").rglob("data.yaml")).parent
cfg = yaml.safe_load(open(root / "data.yaml"))
cfg.update(path=str(root.resolve()), train="train/images",
           val="valid/images", test="test/images")
yaml.safe_dump(cfg, open("rod.yaml", "w"), sort_keys=False)

model = YOLO("yolov8n.pt")
model.train(data="rod.yaml", epochs=100, imgsz=640)
model.val(data="rod.yaml", split="test")

How to cite

If ROD-Dataset helps your work, please cite the paper. You can also cite the dataset release by its DOI.

The paper

@misc{zandi2026roddataset,
  title         = {ROD-Dataset: A Pedestrian-Perspective Benchmark of Urban Obstacle Classes for YOLO-Based Detection},
  author        = {Zandi, Abtin and Azami, Ariyan and Sabagh Kermani, Bardia and Abbasian, Parsa and Ganjipour, Roza and Nami, Sarvin and Farbeh, Hamed},
  year          = {2026},
  eprint        = {2611.00681},
  archivePrefix = {arXiv},
  primaryClass  = {cs.CV},
  doi           = {10.48550/arXiv.2611.00681},
  url           = {https://arxiv.org/abs/2611.00681}
}

The dataset (Hugging Face DOI)

@misc{zandi2026rodhf,
  title     = {ROD-Dataset: Real-Time Obstacle Detection (YOLO)},
  author    = {Zandi, Abtin and Azami, Ariyan and Sabagh Kermani, Bardia and Abbasian, Parsa and Ganjipour, Roza and Nami, Sarvin and Farbeh, Hamed},
  year      = {2026},
  publisher = {Hugging Face},
  doi       = {10.57967/hf/9144},
  url       = {https://huggingface.co/datasets/Abtinzandi/Obstacle-Detection-Dataset-YOLO}
}