library ahash
Compute Average Hash (perceptual hash) for image likeness comparison
cbulock/ahash
Compute Average Hash (perceptual hash) for image likeness comparison
- Wednesday, January 24, 2018
- by cbulock
- Repository
- 1 Watchers
- 0 Stars
- 0 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
ahash
Compute Average Hash (perceptual hash) for image likeness comparison, (*1)
This is based on the algorithm presented here: http://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html, (*2)
To use:, (*3)
$ahash = new Cbulock\Ahash\Ahash('image.jpg');
echo $ahash->compute();