Expand description
Bevy-integrated vision runtime: camera capture, async inference, and detection overlays.
This crate provides Bevy plugins and systems for:
- Off-screen camera capture with GPU readback (
CapturePlugin). - Async inference scheduling and result polling (
InferenceRuntimePlugin). - Detection overlay rendering and threshold hotkeys.
It bridges the framework-agnostic vision_core interfaces with Bevy ECS resources and
systems, enabling real-time detector integration in Bevy apps.
§Architecture Note
This is the runtime layer. Core detector interfaces live in vision_core, while
detector implementations are in inference. See the architecture docs for the full split.
Modules§
Structs§
- Async
Inference State - Resource managing async inference task state.
- Capture
Plugin - Detection
Overlay State - Detector
Handle - Inference
Runtime Plugin - Bevy plugin managing runtime inference coordination.
- Inference
Thresholds Resource - Bevy resource wrapper for inference thresholds.
- Model
Loaded Flag - Resource tracking whether a model detector is loaded (vs. heuristic fallback).
- Primary
Camera Frame - Primary
Camera Frame Buffer - Primary
Camera State - Runtime
Detection Result - Detection result from vision_runtime async inference.