Data formats

Panorama index#

A Parquet or CSV table containing one row per panorama (streetnet/index.py):

ColumnTypeRequiredDescription
pano_idstringyesUnique panorama identifier
lat, lonfloatyesCamera coordinates (WGS 84 / ITRF2020)
headingfloatyesCompass bearing of the panorama center column (degrees clockwise from north)
pitch, rollfloatnoCapture metadata pitch and roll in degrees (pitch = 0 is level)
nx, ny, nzfloatnoGround-plane normal in camera frame (x right, y forward, z up); overrides pitch and roll
hfloatnoCamera height above ground in meters (defaults to 2.5)
imagestringnoPath to panorama image (absolute or relative to --images; defaults to <images>/<pano_id>.jpg)

Input images are equirectangular JPEGs (2:1 aspect ratio) whose center column points along heading. When pitch, roll, and ground normals are omitted, the camera is assumed level. Metric coordinates use the UTM zone containing the median camera position.

Reference points#

streetnet eval --gt accepts a Parquet or CSV table with one row per ground-truth reference asset:

ColumnDescription
gt_keyAsset class key (tree, fire_hydrant, storm_drain, etc.; see streetnet/configs/classes.json)
x, yCoordinates in the index's UTM metric frame (meters), or
lon, latGeographic coordinates (pass --gt-datum nad83 for NAD83(2011) municipal GIS layers to align to ITRF2020 prior to UTM projection)

Evaluation covers the intersection of classes present in both the asset map and the reference table. The evaluation region is defined either from panorama IDs in the index (--region, defaulting to all panoramas) or from an explicit table of disk centers with lon and lat (--region-centers); see evaluation.md for the matching protocol.

Run directory#

runs/city/
├── run.json                    view count, score threshold, model tags, and vocabulary; prevents mismatched resumes
├── det/<pano_id>.parquet       per-panorama detection records; written atomically upon completion
├── cw/<pano_id>.npy            world-frame crosswalk ground points (K, 2) float32 for zero-GIS curb-ramp filtering
├── occ/<pano_id>.bin           zlib-compressed 128 x 256 1-bit occlusion mask (~1 KiB) for clear-view counting
├── raw/                        optional (--keep-raw): raw SAM 3.1 / Mask2Former records and label PNGs
├── logs/detect_<i>.log         per-GPU worker logs
└── map/
    ├── <name>_assets.parquet   fused asset inventory (schema below)
    ├── <name>_assets.geojson   GeoJSON point export (id, class, support, confidence)
    ├── <name>_obs.parquet      individual observations linked to fused assets
    ├── <name>_panos.txt        panorama IDs included in the map
    └── <name>_summary.json     asset counts and fusion settings

Detections: det/<pano_id>.parquet#

ColumnDescription
pano_id, model, label, raw_label, scorePanorama ID, model (sam31 or m2f_vistas_pan), class key, prompt or Vistas label, and confidence score
viewPerspective view index (0 to K - 1)
x0, y0, x1, y1, area_pxBounding box and mask area in view pixels (1008 x 1008)
bot_px, bot_py, top_px, top_pyGround-contact pixel and top mask pixel
bot_dx, bot_dy, bot_dz; top_*; cen_*Camera-frame unit rays through contact pixel, top pixel, and mask centroid
bot_az, bot_elAzimuth (degrees clockwise from forward) and elevation of the contact ray
cut_bottom, cut_sideBoolean flags indicating whether the mask touches the bottom or side view borders
ownerTrue when the contact azimuth falls inside this view's central yaw sector
mountMount category: ground, pole, or surface
dupTrue when suppressed by a higher-scoring same-class mask in the same view (IoU > 0.6)
prompt_rankIndex of the matched prompt within its class (0 = primary prompt); -1 for Mask2Former
sign_filtersignal_relabel when a sign detection was reclassified as a traffic signal; otherwise empty
drngRoad-plane self-calibrated MoGe-3 range at the lower-trunk contact strip (m), or NaN
d_maskSelf-calibrated vehicle-masked RLE-mask interior range (m) used when base_veh >= 0.35
base_vehPanoptic vehicle-pixel fraction in the 7 x 3 band directly below the bounding box
mh_frac, curb_nearManhole overlap and curb-sidewalk adjacency cues for storm_drain filtering
road_alphaPer-panorama zero-GT road-plane range calibration factor applied to MoGe-3

Map output: map/<name>_assets.parquet#

streetnet map outputs all classes present in both the detections and the fusion parameter file: the 22 published classes plus utility_pole (used internally as a carrier for pole-mounted signs and excluded from the published dataset).

ColumnDescription
asset_idZero-based integer asset identifier
labelAsset class key
x, y; lon, latCoordinates in UTM meters and WGS 84 degrees
support, n_obsNumber of distinct panoramas and total observations in the cluster
score_mean, score_max, confMean/max detection score and aggregated confidence 1 - prod(1 - best_score_i)
rng_min, rng_medMinimum and median horizontal range of cluster observations (m)
spreadMedian distance of cluster observations from the fused asset position (m)
best_obsTile-local ID of the closest high-score observation
best_pano, best_rowPanorama ID and row index of the best observation
view, x0, y0, x1, y1Detection view index and bounding box in best_pano (used by streetnet verify)
d_cw, mh_frac, curb_nearZero-GIS crosswalk distance (m), manhole overlap, and curb adjacency
n_clearNumber of nearby panoramas (within 15 m) with unobstructed 3D sightlines to the candidate
sig2_tight, sig2_wide, sig2_comb, score_verifiedZero-shot multi-distractor SigLIP 2 margins and combined verification score (added by streetnet verify)
estimatorMajority localization estimator in the cluster: depth or ground
block, denseOwning 1 km tile ID and whether the tile used uncapped minimum support
sourceConfigured detector routing (sam31, m2f, or ens)

Configuration files#

FileContents
streetnet/configs/prompts.jsonSAM 3.1 natural-language prompts (34 prompts across 23 classes) and mount types
streetnet/configs/fusion_params.jsonPer-class fusion, prior, occlusion-support, and SigLIP 2 verification parameters
streetnet/configs/classes.jsonDisplay names, functional groups, and palette colors for published classes

Custom vocabularies and fusion configurations can be supplied via --vocabulary and --params. Classes missing from the parameter file are skipped during mapping and logged.

Source: docs/data.md. Project page.