pub fn blockhash144<I: Image>(img: &I) -> Blockhash144Expand description
Generates a 144-bit perceptual hash of an image.
ยงExamples
use blockhash::{blockhash144, Blockhash144};
let img = image::open("images/example.png").unwrap();
let hash = blockhash144(&img);
assert_eq!(hash.to_string(), "d1ee1ec18c3fc3f801c11c15f1f7dc7fc010");