Skip to content

HarrisonTCodes/image-compare

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-compare

Rust Build Status License: MIT Conventional Commits

CLI Tool for comparing 2 images with hashing, calculating their similarity based on the Hamming distance between hashes.

Example usage

Install and run

To install and run the project, firstly clone it:

git clone https://github.com/HarrisonTCodes/image-compare.git
cd image-compare

You can then run it from the folder with:

cargo run -- --visualise path/to/image1.png path/to/image2.png

Or install it as a global binary so you can run it from anywhere on your machine:

cargo install --path .

# This should now work from anywhere
image-compare --visualise path/to/image1.png path/to/image2.png

Use the help flag for more information:

image-compare --help

About

A CLI tool for comparing images using the dHash/aHash algorithms implemented in Rust

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages