Function detect_scene_changes

pub fn detect_scene_changes<R: Read, T: Pixel>(dec: &mut Decoder<R>, opts: DetectionOptions, frame_limit: Option<usize>, progress_callback: Option<&dyn Fn(usize, usize)>) -> Result<DetectionResults>

Runs through a y4m video clip, detecting where scene changes occur. This is adjustable based on the opts parameters.

This is the preferred, simplified interface for analyzing a whole clip for scene changes.

Arguments

Errors

Panics