Skip to main content

compare_frames

Function compare_frames 

Source
pub fn compare_frames(frame1: &[u8], frame2: &[u8]) -> f64
Expand description

Compare two frame buffers for pixel similarity.

Returns a similarity score between 0.0 and 1.0.