imagehash-cli

command module
v0.0.0-...-2b5fc1a Latest Latest
Warning

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

Go to latest
Published: Jun 18, 2023 License: MIT Imports: 11 Imported by: 0

README

imagehash-cli

image hash calculation CLI with https://github.com/corona10/goimagehash

Install

go install github.com/yu81/imagehash-cli

Usage

single image hash calculation
# Perception Hash
imagehash-cli -p path_to_image

# Average Hash
imagehash-cli -a path_to_image

# Difference Hash
imagehash-cli -d path_to_image

output

14648015642502059055

Distance between two images

# You can choose hash algorithm as the same as single image hash calculation's ones.
imagehash_cli -p path_to_image1 path_to_image2 

output

13754156118075818639 14648015642502059055 28

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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