Get Started

Songdo Vision OBB Dataset

The Songdo Vision OBB dataset is the Oriented Bounding Box (OBB) version of the Songdo Vision dataset. It provides the same 5,419 4K bird's-eye-view (BEV) drone frames of urban traffic in the Songdo International Business District, South Korea, with each of the 274,190 vehicle annotations given as a rotated rectangle instead of an axis-aligned box.

In top-down drone imagery, vehicles appear at any in-plane angle. A vehicle traveling or parked diagonally fills only part of its axis-aligned box, and the rest is road surface or a neighboring vehicle. Oriented boxes fit the vehicle itself, and their angle gives the vehicle's orientation.

Key Features#

  • 274,190 oriented vehicle boxes: one for every box of Songdo Vision version 2, with the same four classes (car including vans, bus, truck, and motorcycle) and nothing dropped or re-classified.
  • Native 4K, top-down frames: 3840 × 2160 images taken from 140 to 150 m by a fleet of 10 drones.
  • Measured accuracy: on 50 separate frames with 4,245 hand-drawn oriented boxes, used to tune the conversion, the boxes reach a mean IoU of 0.887 and a 90th-percentile orientation error of 3.5°.
  • Per-box confidence scores: a side-car file rates how well each box fits, so low-confidence boxes can be filtered out.
  • Ready-to-train YOLO OBB labels: the archives already contain normalized YOLO OBB labels next to the images, so the download needs no conversion. DOTA and COCO files are included for other toolkits.

Dataset Structure#

The dataset uses the official 80/20 train/test split of Songdo Vision. The Ultralytics configuration uses the test split for validation.

SplitImagesCarBusTruckMotorcycleInstances
Train4,335196,7197,05211,8613,030218,662
Test1,08449,8621,7663,08082055,528
Total5,419246,5818,81814,9413,850274,190

All frames are 3840 × 2160 except 8 that were recorded in portrait orientation (2160 × 3840). After download, the dataset directory has this layout:

datasets/
└── songdo-vision-obb/
    ├── train/
    │   ├── images/
    │   ├── labels/              # YOLO OBB .txt (used by Ultralytics) and DOTA .dota files
    │   ├── labels_confidence/   # one fit score per box, row-aligned with labels/
    │   ├── labels_polygon/      # segmentation contour each box was fitted to
    │   └── coco_annotations.json
    └── test/
        └── ...

Each label row contains the class index followed by the four corner points, normalized to [0, 1], as described in the YOLO OBB format.

How the Oriented Boxes Were Produced#

The oriented boxes were converted from the human-verified axis-aligned boxes of Songdo Vision rather than drawn by hand. Each axis-aligned box served as a prompt for a SAM segmentation model, and the minimum-area rotated rectangle of the resulting mask became the oriented box. The conversion tool, HBB2OBB, is open source, and its settings were selected on 50 manually annotated frames that share no image with the dataset.

Filter on the confidence scores

No human inspected the orientation of the train and test boxes. If orientation accuracy matters, use the scores in labels_confidence/: a threshold of 0.80 flags 5.25% of the boxes, which are also marked as difficult in the DOTA files. Motorcycles convert less accurately than cars because riders and machines do not always segment as one object.

Dataset YAML#

The songdo-vision-obb.yaml file defines the dataset paths, class names, and the download script. It is maintained in the Ultralytics repository at https://github.com/ultralytics/ultralytics/blob/main/ultralytics/cfg/datasets/songdo-vision-obb.yaml.

ultralytics/cfg/datasets/songdo-vision-obb.yaml
# Ultralytics 🚀 AGPL-3.0 License - https://ultralytics.com/license

# Songdo Vision OBB dataset https://doi.org/10.5281/zenodo.15050577 by EPFL (CC BY 4.0)
# Songdo Vision frames with oriented vehicle boxes, converted from its axis-aligned boxes with HBB2OBB
# Documentation: https://docs.ultralytics.com/datasets/obb/songdo-vision-obb
# Example usage: yolo obb train data=songdo-vision-obb.yaml model=yolo26n-obb.pt imgsz=1280
# parent
# ├── ultralytics
# └── datasets
#     └── songdo-vision-obb ← downloads here (16.2 GB)

# Train/val/test sets as 1) dir: path/to/imgs, 2) file: path/to/imgs.txt, or 3) list: [path/to/imgs1, path/to/imgs2, ..]
path: songdo-vision-obb # dataset root dir
train: train/images # train images (relative to 'path') 4335 images, 218662 instances
val: test/images # val images (relative to 'path') 1084 images, 55528 instances; the official test split

# Classes
names:
  0: car # includes vans
  1: bus
  2: truck
  3: motorcycle

# Download script/URL (optional) ---------------------------------------------------------------------------------------
download: |
  from pathlib import Path

  from ultralytics.utils.downloads import download

  # Songdo Vision OBB v1 Zenodo record; YOLO OBB labels ship next to the images, so no conversion is needed
  dir = Path(yaml["path"])  # dataset root dir
  urls = [f"https://zenodo.org/records/15050578/files/{split}.zip" for split in ("train", "test")]
  download(urls, dir=dir, delete=True, threads=2)

Usage#

16.2 GB download

Songdo Vision OBB downloads automatically from its Zenodo record the first time you train, as two archives totaling about 16.2 GB. Allow about 35 GB of free disk space during extraction; the archives are deleted afterwards.

To train a YOLO26n-OBB model on Songdo Vision OBB for 100 epochs at an image size of 1280, use the following code snippets. The vehicles are small in 4K frames, so a larger imgsz than the default 640 keeps more of them detectable.

Train Example
from ultralytics import YOLO

# Load a model
model = YOLO("yolo26n-obb.pt")  # load a pretrained model (recommended for training)

# Train the model - dataset will auto-download on first run
results = model.train(data="songdo-vision-obb.yaml", epochs=100, imgsz=1280)
# Start training from a pretrained *.pt model
# Dataset will auto-download on first run
yolo obb train data=songdo-vision-obb.yaml model=yolo26n-obb.pt epochs=100 imgsz=1280

Applications#

Songdo Vision OBB targets oriented vehicle detection from high-altitude drones. Common uses include:

  • Benchmarking oriented object detectors on dense urban traffic scenes
  • Estimating vehicle orientation for traffic analysis
  • Masking vehicles in drone video, for example to exclude moving objects from video stabilization

For other OBB datasets, see the aerial DOTA-v2 dataset.

Citations and Acknowledgments#

If you use the Songdo Vision OBB dataset in your research or development work, please cite the paper that introduces it and the paper behind the source annotations:

Citation
@article{fonod2026benchmark,
  title={Consensus Capture in Reference-Based UAV Video Stabilization: A Benchmark on Dynamic Urban Scenes},
  author={Fonod, Robert and Geroliminis, Nikolas},
  journal={arXiv preprint arXiv:2611.17190},
  year={2026},
  doi={10.48550/arXiv.2611.17190}
}

@article{fonod2025advanced,
  title={Advanced computer vision for extracting georeferenced vehicle trajectories from drone imagery},
  author={Fonod, Robert and Cho, Haechan and Yeo, Hwasoo and Geroliminis, Nikolas},
  journal={Transportation Research Part C: Emerging Technologies},
  volume={178},
  pages={105205},
  year={2025},
  doi={10.1016/j.trc.2025.105205}
}

We would like to thank the authors for creating and maintaining the Songdo Vision OBB dataset. The dataset is hosted on Zenodo, together with the 50 manually annotated frames and the full tuning study behind the conversion.

FAQ#

  • Both datasets share the same images, splits, classes, and vehicle instances. Songdo Vision provides axis-aligned boxes for the detect task, and Songdo Vision OBB provides rotated boxes for the obb task. COCO annotation IDs are preserved, so each oriented box can be joined to its source box. Ultralytics can train a detect model on the OBB labels by taking each rotated box's axis-aligned envelope, but for diagonal vehicles that envelope is looser than the human-verified Songdo Vision box, so use songdo-vision.yaml when comparing detection results with the published Songdo Vision benchmark.

  • No. They were converted from the human-verified axis-aligned boxes with SAM segmentation, using the HBB2OBB tool. The conversion was tuned and measured on 4,245 hand-drawn oriented boxes from 50 separate frames (mean IoU 0.887), and a per-box confidence score is provided for filtering.

  • The dataset downloads automatically the first time you train with data="songdo-vision-obb.yaml". The script fetches the train.zip and test.zip archives (about 16.2 GB) of version 1 from Zenodo, where the dataset is permanently archived under the DOI 10.5281/zenodo.15050577.

  • No. The dataset has official train and test splits only, and songdo-vision-obb.yaml uses the test split as val. To tune hyperparameters without touching the test images, hold out part of the training images in your own YAML.

Contributors

Comments

Ask a question, share your results, or help someone else.