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§
- Camera
Desc - Detection
Box - 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). - Detection
Event - Webcam
Stream Config
Functions§
- list_
cameras - start_
webcam_ inference - Starts capture + inference; events arrive on
sinkuntilstop_webcam_inferenceis called. Errors if already running. - stop_
webcam_ inference - Stops the running session (no-op when idle).