Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is it possible to hash an image so that you can partially match it with subsets of that image (like cropped regions or resizes)? Or a slight modification of that image (colors shifted, image flipped, etc).


I believe so. Tineye uses something similar, because it detects those matches.


Yep. Google "perceptual hash functions".


shameless self-promotion - I wrote a perceptual hasher for PHP : https://github.com/kennethrapp/phasher

FWIW the biggest problem with this is false positives, though admittedly I may just not be clever enough to do it with enough finesse.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: