Skip to main content

ahash_u64

Function ahash_u64 

Source
pub fn ahash_u64(src: GrayView<'_>) -> Result<u64, CvError>
Expand description

Average hash: nearest-neighbor sample to 8×8, bit = pixel ≥ mean.

Returns a 64-bit fingerprint. Identical inputs → identical hash (distance 0).