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§
Sourcefn hash_frames(&self, images: &[RgbaImage]) -> Vec<Self::Hash>
fn hash_frames(&self, images: &[RgbaImage]) -> Vec<Self::Hash>
Hash multiple frames, returning a vector of hashes.
Sourcefn are_duplicates(&self, a: &RgbaImage, b: &RgbaImage) -> bool
fn are_duplicates(&self, a: &RgbaImage, b: &RgbaImage) -> bool
Check if two frames are duplicates using the suggested threshold.