Datasets:
File size: 10,800 Bytes
6d069c4 b88b095 6d069c4 6d6385b 6d069c4 b88b095 6d069c4 b88b095 6d069c4 b88b095 6d069c4 b88b095 6d069c4 b88b095 6d069c4 b88b095 6d069c4 b88b095 6d069c4 6d6385b 6d069c4 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 | ---
license: mit
task_categories:
- object-detection
tags:
- curb-ramp
- accessibility
- streetscape
- benchmark
- evaluation
configs:
- config_name: native
data_files:
- split: annapolis
path: data/native/annapolis.parquet
- split: bend
path: data/native/bend.parquet
- split: budapest_district5
path: data/native/budapest_district5.parquet
- split: clovis
path: data/native/clovis.parquet
- split: gainesville
path: data/native/gainesville.parquet
- split: morgantown
path: data/native/morgantown.parquet
- split: paterson
path: data/native/paterson.parquet
- split: richmond
path: data/native/richmond.parquet
- split: sao_paulo
path: data/native/sao_paulo.parquet
- config_name: 4096x2048
data_files:
- split: annapolis
path: data/4096x2048/annapolis.parquet
- split: bend
path: data/4096x2048/bend.parquet
- split: budapest_district5
path: data/4096x2048/budapest_district5.parquet
- split: clovis
path: data/4096x2048/clovis.parquet
- split: gainesville
path: data/4096x2048/gainesville.parquet
- split: morgantown
path: data/4096x2048/morgantown.parquet
- split: paterson
path: data/4096x2048/paterson.parquet
- split: richmond
path: data/4096x2048/richmond.parquet
- split: sao_paulo
path: data/4096x2048/sao_paulo.parquet
- config_name: galleries
data_files:
- split: annapolis
path: data/galleries/annapolis.parquet
- split: bend
path: data/galleries/bend.parquet
- split: budapest_district5
path: data/galleries/budapest_district5.parquet
- split: clovis
path: data/galleries/clovis.parquet
- split: gainesville
path: data/galleries/gainesville.parquet
- split: morgantown
path: data/galleries/morgantown.parquet
- split: paterson
path: data/galleries/paterson.parquet
- split: richmond
path: data/galleries/richmond.parquet
- split: sao_paulo
path: data/galleries/sao_paulo.parquet
- config_name: records
data_files:
- split: annapolis
path: data/records/annapolis.parquet
- split: bend
path: data/records/bend.parquet
- split: budapest_district5
path: data/records/budapest_district5.parquet
- split: clovis
path: data/records/clovis.parquet
- split: gainesville
path: data/records/gainesville.parquet
- split: morgantown
path: data/records/morgantown.parquet
- split: paterson
path: data/records/paterson.parquet
- split: richmond
path: data/records/richmond.parquet
- split: sao_paulo
path: data/records/sao_paulo.parquet
---
# RampNet Benchmark Imagery
> ### ⚠️ This benchmark is **not** part of the RampNet paper
>
> It did not exist when RampNet was published. The paper's tag,
> [`v1.0-iccv2025`](https://github.com/ProjectSidewalk/RampNet/tree/v1.0-iccv2025) (August 2025),
> contains **no `benchmark/` directory at all** — its evaluation was a **1,000-panorama manually
> labeled gold set** (`manual_labels/`, imagery in
> [`rampnet-dataset`](https://huggingface.co/datasets/projectsidewalk/rampnet-dataset)), drawn from
> the same three training cities.
>
> These 9 city splits were built **eleven months later**, between 2026-07-22 and
> 2026-07-31, as post-publication work: to test the published model on cities and imagery sources
> it was never trained on, and to compare it against VLM detectors.
>
> **Use this to evaluate RampNet. Do not cite it as the paper's evaluation** — the ground truth,
> the cities, and the matching protocol all differ, so numbers measured here are not comparable
> with the ones in the paper.
The panoramas behind that benchmark — 9 city splits, 11.41 GB. Unlike the paper's
gold set, the splits deliberately include **non-US cities and a second imagery source** (Mapillary
as well as Google Street View), which is the whole point: the paper's own evaluation was in-domain.
It is self-contained: the `records` config carries the ground truth, so you can score a model
against this benchmark without cloning anything. The **rubrics** those verdicts were made under,
the per-split reviewer confidence, and the review notes stay in git at
[`benchmark/`](https://github.com/ProjectSidewalk/RampNet/tree/main/benchmark) — read
[`benchmark/RUBRICS.md`](https://github.com/ProjectSidewalk/RampNet/blob/main/benchmark/RUBRICS.md)
before treating a verdict as self-explanatory, and `benchmark/README.md` before quoting a
precision figure, because several splits carry caveats the numbers alone do not show.
## Configs
| config | what it is | when you want it |
| :--- | :--- | :--- |
| **`records`** | **the ground truth** — per-panorama metadata, model detections with their human verdict, and reviewer-marked missed ramps | scoring any model against this benchmark |
| `native` | the panoramas exactly as fetched — 4096 to 16384 px wide, depending on city and imagery source | the resolution experiment; any re-render at higher fidelity |
| `4096x2048` | the same panoramas at the model's input size | **what ground-truth reviewers actually saw** — `gt_gallery.py` renders at 4096×2048 and never native, so this is the config a second rater needs |
| `galleries` | the incremental false-positive crops shown in the operating-point A/B pass | redoing that A/B |
### The `records` config
One row per reviewed panorama, joinable to any imagery config on `pano_id`:
| column | meaning |
| :--- | :--- |
| `source` | `gsv` or `mapillary` |
| `capture_date`, `lat`, `lng`, `camera_heading`, `width`, `height` | panorama metadata as fetched |
| **`copyright`** | per-record source attribution, e.g. `© <contributor> / Mapillary (CC BY-SA 4.0)` |
| `detections` | model detections: `x_normalized`, `y_normalized`, `confidence`, and **`verdict`** |
| `missed` | ramps the reviewer marked that the model did not find, each with an `unsure` flag |
| `no_missed` | reviewer confirmed they checked the whole panorama and found nothing missed |
| `model_id`, `model_training_date`, `label_type` | which model produced the detections |
`verdict` is one of **`correct`**, **`incorrect`**, **`unsure`**, **`duplicate`**. `unsure` is an
abstention and `duplicate` marks a second detection of an already-matched ramp — both carry the
meaning the scorer gives them, so the labels mean exactly what the published precision/recall were
computed against. Panoramas that were never reviewed are not included.
**Labels are derived, not original.** `benchmark/<city>/records.jsonl` and `verdicts.json` in git
are the source of truth; this config is regenerated from them by `scripts/export_benchmark.py`.
Verdicts get revised, imagery does not — keeping them in separate configs means a label correction
never rewrites an image blob.
Configs are named by **resolution, not by consumer**. "Model resolution" is a relative label that
becomes wrong the moment the model's input size changes, and a published path cannot be corrected
later without replacing large blobs.
Note that `4096x2048` is not uniformly smaller: for splits whose native imagery is already at or
near model resolution it can be *larger*, because it carries an extra JPEG generation. It is a
fidelity artifact — it reproduces what a reviewer's eyes were on — not a compression trick.
## Usage
```python
from datasets import load_dataset
# the ground truth for one split
gt = load_dataset("projectsidewalk/rampnet-benchmark", "records", split="gainesville")
print(gt[0]["source"], gt[0]["capture_date"], gt[0]["copyright"])
print(gt[0]["detections"]) # each with x_normalized, y_normalized, confidence, verdict
print(gt[0]["missed"]) # ramps the model did not find
# the matching pixels, at the resolution reviewers saw
px = load_dataset("projectsidewalk/rampnet-benchmark", "4096x2048", split="gainesville")
by_id = {r["pano_id"]: r["image"] for r in px}
image = by_id[gt[0]["pano_id"]]
```
Each row of an **imagery** config carries:
| column | meaning |
| :--- | :--- |
| `pano_id` | panorama id — the join key to `benchmark/<city>/records.jsonl` in git |
| `city` | split name |
| `image` | the image, stored as the **exact source bytes**, not re-encoded on write |
| `width`, `height` | pixel dimensions as stored |
| `sha256` | hash of those exact bytes |
## Verifying you have the pixels the reviewers judged
Same pano id and filename is **not** evidence the bytes are the ones a reviewer saw — a re-fetch
from Google Street View or Mapillary can return re-stitched or re-compressed imagery. Two
independent checks exist:
1. **Per row.** Every row carries the `sha256` of its own embedded bytes.
`scripts/export_benchmark.py verify` re-hashes every image straight out of the Parquet, so the
round trip through Parquet is checked rather than assumed.
2. **Against the review.** `benchmark/<city>/imagery_manifest.json` in git records a sha256 and
pixel size per panorama, pinned at the time each split was reviewed — 206 KB describing the
whole archive. That is what ties these bytes to the verdicts.
```bash
python scripts/analysis/imagery_manifest.py --verify
```
## Provenance
| Field | Value |
| :--- | :--- |
| Benchmark code and labels | https://github.com/ProjectSidewalk/RampNet @ `94be2c3` |
| Exported | 2026-08-04 by `scripts/export_benchmark.py` |
| Replication ledger | [`docs/replication.md`](https://github.com/ProjectSidewalk/RampNet/blob/main/docs/replication.md) |
| How a split is built and reviewed | [`docs/adding_a_benchmark_city.md`](https://github.com/ProjectSidewalk/RampNet/blob/main/docs/adding_a_benchmark_city.md) |
Imagery sources differ by city (Google Street View and Mapillary); per-split provenance, ground
truth precision/recall, and reviewer confidence are documented in
[`benchmark/README.md`](https://github.com/ProjectSidewalk/RampNet/blob/main/benchmark/README.md).
## Citation
There is no separate publication for this benchmark. Cite the paper for **the pipeline and model
being evaluated**, and please make clear that the evaluation set is post-publication rather than
the paper's own:
```bibtex
@inproceedings{omeara2025rampnet,
author = {John S. O'Meara and Jared Hwang and Zeyu Wang and Michael Saugstad and Jon E. Froehlich},
title = {{RampNet: A Two-Stage Pipeline for Bootstrapping Curb Ramp Detection in Streetscape Images from Open Government Metadata}},
booktitle = {{ICCV'25 Workshop on Vision Foundation Models and Generative AI for Accessibility: Challenges and Opportunities (ICCV 2025 Workshop)}},
year = {2025},
doi = {https://doi.org/10.48550/arXiv.2508.09415},
}
```
|