Skip to content

mdbishop/ImagePHash

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Groovy, performance enhanced implementation of pHash based off of https://code.google.com/p/ironchef-team21/source/browse/ironchef_team21/src/ImagePHash.java?r=75856e07bb89645d0e56820d6e79f8219a06bfb7

Notably, this implementation reduces hashing time from ~1.5-2s to ~200-250ms. A simple test and sample image is included.

Some additional ideas for enhancements can be found at:

Test output:

Old hash took 2265 ms

Hash: 0111000111001110011100011110111001111111011001100

New hash took 244 ms

Hash: 0111000111001110011100011110111001111111011001100

About

Java/Groovy Implementation of Perceptual Hash (pHash)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages