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-12-21 16:05:09 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();