Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Color-aware perceptual hashing #15

Open
Dorumin opened this issue Jan 30, 2024 · 0 comments
Open

Color-aware perceptual hashing #15

Dorumin opened this issue Jan 30, 2024 · 0 comments

Comments

@Dorumin
Copy link

Dorumin commented Jan 30, 2024

Has there been any research into color aware hashes? From what I can see in this crate every implemented HashAlg grayscales the image as a first step, most likely to pack each hash "pixel" as a single byte. Adding color profile settings like ColorProfile::{Grayscale, RGB, RGBA} might multiply the size of the hash by the channel count, and there's probably no way of avoiding that as far as I'm aware without sacrificing color depth or detail.

In any case, would it be possible to implement this into the library?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant