-
Notifications
You must be signed in to change notification settings - Fork 3
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
Way to compare image hashes #5
Comments
There are currently two ways to compare the hashes. If they are totally equal you can just do a 'eq', but the hashes rarely are totally equal. If the hash is slightly different you need to compare the Hamming distance like this:
The hammingdistance function sold definitely be added and this better documented. Does this clarifies it, or did you mean on some other way of comparing images? |
I think casual users of the module would find the module much more useful if there was a simple way to compare the hashes, or even an example in the documentation of how to compare the hashes. |
I agree, you are right. The hammingdistance function sold definitely be added and better documented. Casual users may also be interested in using the hammingdistance function together with Tree::BK to easily do fuzzy matching on a large set of images, so that should be documented too. |
If there is anything I can do to assist in getting this done, let me know. |
At the moment the module returns image hashes but it doesn't seem to offer a way to compare the hashes of two different images. I request adding the feature of a simple way of comparing images.
The text was updated successfully, but these errors were encountered: