vision_core
Vision interfaces and overlay helpers shared by sims, tools, and inference.
Contents
interfaces: Frame/DetectionResult/Label/FrameRecord; Detector/FrameSource/Recorder traits.overlay: box normalize + draw helpers.capture: CaptureLimit (max frames).prelude: re-exports interfaces, overlay helpers, CaptureLimit.
Usage
- Add
vision_coreas a dependency. - Import via
vision_core::prelude::*for interfaces/overlay helpers. - Implement
Detector/DetectorFactoryin your crate; keep heavy backends (Burn) behind feature flags outside vision_core. - Use
BurnDetectorFactoryonly if you need a feature-gated Burn loader; keep the trait implementations out of vision_core to stay lean.
License
Apache-2.0 (see LICENSE in the repo root).