You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Julio Biason
6a0ca29214
|
4 years ago | |
---|---|---|
src | 4 years ago | |
.gitignore | 4 years ago | |
AUTHORS | 4 years ago | |
COPYING | 4 years ago | |
Cargo.lock | 4 years ago | |
Cargo.toml | 4 years ago | |
README.md | 4 years ago |
README.md
dhash
A simple DHash calculator in Rust.
What's a "DHash"?
A DHash is a image perceptual hashing in which the image is reduced to 9x8 pixels and have it converted to grayscale. Each pixel is compared to the next: if it is whiter, the hash produces a 0 bit; if if is darker, it produces a 1. The final result is a 64-bit hash for the image.
Running
Simply call dhash <filename>
.
License
GNU AFFERO GENERAL PUBLIC LICENSE, Version 3.