Fast Dhash
A fast rust implementation of the perceptual hash dhash.
The main difference with other rust implementations, and the reason it is called fast, is that it uses multithreading and does not resize nor converts the image, effectively cycling through its bytes only once.
Usage
For forward and backward compatibility, the API does NOT directly rely on the image crate.
use Dhash;
use ImageReader;
let image = open
.expect
.decode
.expect;
let hash = new;
println!;
// hash: d6a288ac6d5cce14