Skip to content

rlm552/pHash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

pHash

Program that finds and compare perceptual hashes of two images

Requires numpy and Pillow libraries.

To compare two images python CompareImages.py Image1 Image2 Algorithm

Algorithm defaults to aHash. Other available algorithm is dHash which uses a DCT to hash. Hash is 64 bits.

After running will return whether two images are similar and the Hamming Distance between the two images. Images with hamming distances greater than 5 are deemed dissimilar.

About

Program that finds and compare perceptual hashes of two images

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages