cbulock/ahash

Compute Average Hash (perceptual hash) for image likeness comparison

Maintainers

Package info

github.com/cbulock/ahash

Homepage

pkg:composer/cbulock/ahash

Statistics

Installs: 24

Dependents: 0

Suggesters: 0

Stars: 1

Open Issues: 0

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

This package is not auto-updated.

Last update: 2026-03-14 22:18:37 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();