You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this is top level documentation and the parameter file
implemented as python modules: python -m truth_data_processing.georef_grab_frame
Pipeline order:
1. georef_grab_frame.py -- scrub the video, save one stable frame to anchor geometry of entire video
2. georef_pick_points.py -- click ground points on that frame, right click those points in google maps to get lat,lon. get 4+ points, try 6 points well spread out
3. georef_yolo_track.py -- run detection+tracking, project to lat/lon
--- Notes for collaborators (Marshall et al., different camera/site) -----
This pipeline is meant to be site-agnostic: this file is a documented
template -- copy it to README.yaml (or anything else) and fill in your own
values, or pass --config path/to/your.yaml to any script to point at your
own copy. README.yaml itself holds live per-deployment values with minimal
comments; this file is where the full explanations live.
Recent changes worth knowing about:
- start_s/end_s (added 2026-08-05): optional time window in seconds into
video. If set, georef_yolo_track.py auto-cuts+caches a clip via
ffmpeg (keyframe seek, no re-encode) instead of slow-seeking the full
video -- see that script's docstring. Omit both for the whole video.
- headless (added 2026-08-05): moved from a --headless CLI flag to this
config so it round-trips with the rest of the deployment's settings.
- out_pkl filenames get a _<start>-<end>s suffix auto-appended when
start_s/end_s are set, so time-windowed runs don't clobber a full-video
pkl (or each other).
- tracker_cfg default is botsort_persistent.yaml (BoT-SORT+ReID) rather
than bytetrack_persistent.yaml, specifically to reduce track-ID swaps
when objects cross paths -- see that yaml's comments before changing.
- botsort_persistent.yaml (2026-08-05): ReID model changed from "auto"
(reuses detector features -- not identity-discriminative) to
yolov8n-cls.pt (a real appearance embedder), and proximity_thresh
lowered 0.5->0.35 so ReID kicks in earlier during a crossing. Mike is
visually verifying this on his footage; if you're on different camera
hardware/framing, re-verify before trusting it -- see that yaml's