Evaluation
Matching protocol#
streetnet eval (streetnet/evaluate.py) benchmarks a predicted asset map against municipal reference points inside a defined evaluation region:
region union of 15 m disks around the evaluation region centers (camera positions)
for each class c and matching radius R in {2, 3, 5} m:
candidate edges all (prediction, reference) pairs of class c with distance < R (reference anywhere on map)
assignment maximum-cardinality, minimum-distance one-to-one matching within each connected
component of the candidate bipartite graph (Hungarian algorithm)
TP matched pairs whose reference point lies inside the region
FP unmatched predictions inside the region
FN unmatched reference points inside the region
matched pairs whose reference lies outside the region and unmatched exterior predictions are ignored
precision = TP / (TP + FP); recall = TP / (TP + FN); F1 = 2 * precision * recall / (precision + recall)
F1 is n/a if a class has no predictions or no reference points in the region, and 0 if both exist with TP = 0
micro aggregate: sum TP, FP, and FN across classes; macro F1: mean F1 over classes with defined F1
median error: median Euclidean distance over pairs matched within 5 m
Allowing candidate matches to reference points outside the region prevents boundary artifacts where an asset near the edge of the test region matches a reference point just outside it.
Municipal reference layers and geodetic alignment#
Reference layers are drawn from NYC Open Data. Several datasets are incomplete, dated, or derived from road-centerline work orders, so valid detections absent from a municipal layer count as false positives under raw registry matching. In addition, NYC GIS layers are surveyed in NAD83(2011) (EPSG:6318) whereas Street View poses lie in ITRF2020/WGS 84 (EPSG:9989), creating a systematic horizontal shift of 1.05 m in Manhattan (dx = -0.349 m, dy = +0.993 m). Pass --gt-datum nad83 to streetnet eval to apply the official PROJ NAD83(2011)-to-ITRF2020 transformation automatically; aligning this datum offset lifts tight 2 m F1 on the eight surveyed inventories by +14.6 points and halves near-field curb ranging error.
Pilot benchmark and label-blind visual audit#
On the held-out Upper Manhattan pilot test region (9,652 panoramas, 31,562 datum-aligned municipal reference points), StreetNet achieves:
- Municipal registry F1 (datum-aligned):
0.569F1 at 3 m (0.641at 5 m) on the eight surveyed inventories (+13.1 points over the strongest baseline) and0.364F1 at 3 m across all 14 layers. - Strictly label-blind visual audit (Qwen3.8-27B):
85.1%Rogan-Gladen error-adjusted macro precision across all 14 classes (74.6%raw blind agreement), with94.0%visible recall and82.3%real-world F1 across the seven curb-surveyed inventories (N = 7,901judgments,99.73%cross-class specificity, zero Qwen components inside StreetNet). Genuine visible misses account for6.2%of unmatched surveyed reference points, while most municipal false negatives arise from mis-geocoded or removed records and parked-vehicle occlusion.
NYC Open Data reference layers#
| Class | Dataset | Agency | ID | Coverage |
|---|---|---|---|---|
| Street tree | 2015 Street Tree Census - Tree Data | Parks | uvpi-gqnh | 2015 census |
| Curb ramp | Pedestrian Ramp Locations | DOT | ufzp-rrqu | 2019 survey |
| Fire hydrant | Hydrants | DEP | 5bgh-vtsn | Full inventory |
| Catch basin | NYCDEP Citywide Catch Basins | DEP | 2w2g-fk3i | Full inventory |
| Traffic sign | Street Sign Work Orders (current records) | DOT | qt6m-xctn | Work-order records (partial) |
| Sign pole | Street Sign Work Orders (sign positions) | DOT | qt6m-xctn | Work-order records (partial) |
| Street light | Street Sign Work Orders; Mobile Telecom Franchise Pole Reservations | DOT; OTI | qt6m-xctn; tbgj-tdd6 | Partial |
| Trash can | DSNY Litter Basket Inventory | DSNY | 8znf-7b2c | City-managed litter baskets |
| Bike rack | Bicycle Parking | DOT | 592z-n7dk | City-installed racks |
| Bench | Seating Locations | DOT | esmy-s8q5 | City-installed seating |
| Bus shelter | Bus Stop Shelters | DOT | t4f2-8md7 | Full inventory |
| Parking meter | Parking Meters Locations and Status | DOT | 693u-uax6 | Full inventory |
| LinkNYC kiosk | LinkNYC Kiosk Locations | OTI | s4kf-3yrf | Full inventory |
| Fire alarm box | In-Service Alarm Box Locations | FDNY | v57i-gtxb | 2019 inventory |
Eight classes (manhole covers, bollards, barriers, planters, mailboxes, bus stop signs, traffic signals, and bike-share docks) lack comparable municipal point layers and are omitted from the accuracy table.
Evaluation region#
Per-class fusion and verification parameters were selected on the 478-panorama development split of the 10,180-panorama Upper Manhattan pilot study. The evaluation region lies within the pilot footprint while remaining strictly disjoint from the development split:
centers = mapped panoramas within 20 m of a pilot panorama
and at least 30 m from every development-split panorama
(ensuring 15 m evaluation disks do not overlap the development split)
Both the evaluation region centers (eval/region_centers.parquet) and reference points (eval/ground_truth.parquet) are distributed with the dataset.
Results#
Accuracy of the published citywide map at a 3 m matching radius:
| Class | Ground truth | Predicted | Precision | Recall | F1 | Median error (m) |
|---|---|---|---|---|---|---|
| Street tree | 9,821 | 13,953 | 0.520 | 0.730 | 0.607 | 1.41 |
| Traffic sign | 6,333 | 5,979 | 0.157 | 0.148 | 0.153 | 2.37 |
| Sign pole | 3,395 | 4,119 | 0.069 | 0.083 | 0.075 | 2.49 |
| Curb ramp | 2,962 | 2,212 | 0.759 | 0.562 | 0.646 | 1.19 |
| Street light | 2,405 | 3,313 | 0.146 | 0.201 | 0.169 | 1.48 |
| Catch basin | 1,588 | 784 | 0.296 | 0.146 | 0.196 | 1.47 |
| Fire hydrant | 1,446 | 797 | 0.423 | 0.233 | 0.301 | 2.25 |
| Bike rack | 817 | 188 | 0.217 | 0.050 | 0.082 | 1.21 |
| Trash can | 400 | 1,086 | 0.081 | 0.220 | 0.119 | 2.13 |
| Fire alarm box | 195 | 50 | 0.000 | 0.000 | 0.000 | n/a |
| Parking meter | 186 | 269 | 0.147 | 0.215 | 0.175 | 2.21 |
| LinkNYC kiosk | 109 | 35 | 0.457 | 0.147 | 0.222 | 1.28 |
| Bench | 106 | 1,355 | 0.042 | 0.538 | 0.078 | 1.46 |
| Bus shelter | 105 | 82 | 0.354 | 0.276 | 0.310 | 2.71 |
| All classes | 29,868 | 34,222 | 0.334 | 0.381 | 0.356 |
To reproduce evaluation directly from a published dataset:
hf download mehmetkeremturkcan/streetnet-nyc --repo-type dataset --local-dir streetnet-nyc
cd streetnet-nyc
streetnet eval --map data/assets.parquet --gt eval/ground_truth.parquet \
--region-centers eval/region_centers.parquet --gt-datum nad83 --out metrics.json
Source: docs/evaluation.md. Project page.