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.
SimilarChecker has settings for detecting similar image.
get_distance gets distance between two average hash.
get_hash calculate average hash.