Crate imghash

Source

Modules§

average
difference
perceptual

Structs§

ImageHash

Enums§

ColorSpace

Traits§

ImageHasher
Trait for generating image hashes

Functions§

average_hash
Calculate the average hash for an image at the specified path. Uses the default width and height of 8 x 8 pixels. If you want to use something else please directly use the AverageHasher struct.
difference_hash
Calculate the difference hash for an image at the specified path. Uses the default width and height of 8 x 8 pixels. If you want to use something else please directly use the DifferenceHasher struct.
perceptual_hash
Calculate the perceptual hash for an image at the specified path. Uses the default width and height of 8 x 8 pixels as well as the default factor of 4. If you want to use something else please directly use the PerceptualHasher struct.