Skip to main content

rememberCameraFrames

Function rememberCameraFrames 

Source
pub fn rememberCameraFrames() -> EventStream<CameraFrame>
Expand description

The frames the session produces, as a stream this composition collects.

This is the analysis path: a detector collects it, and one that cannot keep up falls behind by frames rather than by memory — see dropped_camera_frames. A viewfinder draws latest_camera_frame instead, which costs no recomposition at all.