package
0.0.0-20170609170433-bd29090fcaf3
Repository: https://github.com/jbugman/imghash.git
Documentation: pkg.go.dev

# README

img-find

img-find accepts the path to a single image. It constructs a Perceptual Hash for it and checks a hash database for any matches. It returns the filenames associated with these matches, sorted by relevance.

Matches

A match is determined by the Hamming Distance between two hashes. The threashold for this value can be specified through a commandline parameter. The smaller the value, the more restrictive the matches.

Database

The hash database it uses is a flat file. It is stored in the location specified either in the -db commandline parameter, or in the IMGHASH_DB environment variable.

Usage

go get github.com/jteeuwen/imghash/img-find

License

Unless otherwise stated, all of the work in this project is subject to a 1-clause BSD license. Its contents can be found in the enclosed LICENSE file.