Expand description
Webcam live-inference API; frames go straight to the texture, only detections cross the bridge.
Structs§
- Camera
Desc - Detection
Box - A detection in source-frame pixels; a field-accessible mirror of the opaque core
Detection. - Detection
Event - Webcam
Stream Config
Functions§
- list_
cameras - Not sync on purpose: the device monitor starts libcamera, about a second the UI thread must not wait out.
- start_
webcam_ inference - Streams capture + inference events to
sinkuntilstop_webcam_inference; errors if running. - stop_
webcam_ inference - Stops the running session (no-op when idle).
- webcam_
inference_ available - Whether this build can run the webcam pipeline: a compile-time answer, cheap enough for a widget’s build.