Skip to main content

Module snapshot

Module snapshot 

Source
Expand description

Snapshot extraction: a single JPEG frame either from recorded footage at a timestamp, or live from the camera stream right now.

Functions§

snapshot_at
Extract one frame from recorded footage at at.
snapshot_live
Grab one frame live from the camera stream (sub-stream preferred).
snapshot_live_raw
Reusable inner that captures one live frame and returns the raw JPEG bytes. Backs the public snapshot_live handler path and is reused by the snapshot scheduler. Identical behaviour; kept as a distinct entry point so background callers don’t depend on the route-facing wrapper.