Module pihash::hash
[−]
[src]
Structs
PerceptualHashes |
Wraps the various perceptual hashes |
PreparedImage |
Prepared image that can be used to generate hashes |
Enums
HashType |
Types of hashes supported |
Precision |
All the supported precision types |
Traits
PerceptualHash |
Functions
calculate_hamming_distance |
Calculate the number of bits different between two hashes Add to the PerceptualHashTrait |
get_perceptual_hash |
Get a specific HashType hash |
get_perceptual_hashes |
Get all perceptual hashes for an image |
prepare_image |
Resonsible for parsing a path, converting an image and package it to be hashed. |