Module webcam

Module webcam 

Source
Expand description

Webcam live-inference API: camera enumeration + a detection event stream.

Video frames never cross the bridge — they go straight from the capture pipeline into the Flutter texture via the native plugin’s C ABI. Only detection metadata streams to Dart, where the UI overlays boxes.

Structs§

CameraDesc
DetectionBox
A detection in source-frame pixel coordinates. Field-accessible Dart mirror of kataglyphis_core::detection::Detection (which the bridge would otherwise expose as an opaque type).
DetectionEvent
WebcamStreamConfig

Functions§

list_cameras
start_webcam_inference
Starts capture + inference; events arrive on sink until stop_webcam_inference is called. Errors if already running.
stop_webcam_inference
Stops the running session (no-op when idle).