Detecting duplicate images with Python
Here is my question for OP. It seems like the image shrinking step coupled with the transformation to +/- values loses so much information that the hash would suffer from big false positive problem. I would have loved to see some data on this based on their own dataset.To give a concrete example, I noticed recently that a lot of app store icons within a category look pretty similar. See for example this:https://twitter.com/acslater00/status/450127865682489344/pho...All of those checkmarks certainly seem to my naked eye like they the binary diff transformation would result in a very identical hash. It seems like the rounded corners in 'Finish' would blur out, and the texture in 'OmniFocus 2' would blur out, and the gradient in 'Clear' would look identical to a flat gradient on the right side of the checkmark.Anyway, clever algorithm but curious how it works in practice on small icons?