cbulock/ahash

Compute Average Hash (perceptual hash) for image likeness comparison

dev-master 2018-01-24 20:20 UTC

This package is not auto-updated.

Last update: 2024-11-09 15:25:56 UTC


README

Compute Average Hash (perceptual hash) for image likeness comparison

This is based on the algorithm presented here: http://www.hackerfactor.com/blog/index.php?/archives/432-Looks-Like-It.html

To use:

$ahash = new Cbulock\Ahash\Ahash('image.jpg');
echo $ahash->compute();