capture_utils
Recorder sinks and capture helpers for capture runs and overlays:
JsonRecorderwrites frame metadata/labels to disk underrun_dir/labels/frame_XXXXX.json(usesdata_contracts::CaptureMetadata).generate_overlaysrenders boxes onto PNGs in a run directory (overlays/).prune_runcopies a run to a filtered destination, skipping unwanted frames.
Usage
- Add
capture_utilsas a dependency and constructJsonRecorderfor default file-based recording. - Recorder sinks are pluggable: the substrate recorder installs
JsonRecorderby default; you can inject your own sink implementingvision_core::Recorder.
License
Apache-2.0 (see LICENSE in the repo root).