Expand description
This crate checks for similar image using average hash algorism. The average of the luminance values is calculated, and the 64-bit hash value is calculated as “1” for greater than the average and “0” for less than the average.
Structs§
- Similar
Checker - SimilarChecker has settings for detecting similar image.
Functions§
- get_
distance - get_distance gets distance between two average hash.
- get_
hash - get_hash calculate average hash.