pub fn compare_frames(frame1: &[u8], frame2: &[u8]) -> f64
Compare two frame buffers for pixel similarity.
Returns a similarity score between 0.0 and 1.0.