Crate simimgrs

Source
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§

SimilarChecker
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.