img-find

command
v0.0.0-...-eaa211a Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 20, 2012 License: BSD-1-Clause Imports: 10 Imported by: 0

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.

Documentation

Overview

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL