Skip to main content

FrameHasherExt

Trait FrameHasherExt 

Source
pub trait FrameHasherExt: FrameHasher {
    // Provided methods
    fn hash_frames(&self, images: &[RgbaImage]) -> Vec<Self::Hash> { ... }
    fn are_duplicates(&self, a: &RgbaImage, b: &RgbaImage) -> bool { ... }
}
Expand description

Extension trait for batch hashing operations.

Provided Methods§

Source

fn hash_frames(&self, images: &[RgbaImage]) -> Vec<Self::Hash>

Hash multiple frames, returning a vector of hashes.

Source

fn are_duplicates(&self, a: &RgbaImage, b: &RgbaImage) -> bool

Check if two frames are duplicates using the suggested threshold.

Implementors§