lessthanoptimal / BoofCV

Fast computer vision library for SFM, calibration, fiducials, tracking, image processing, and more.
http://boofcv.org
1.07k stars 257 forks source link

Perceptual hashing support for image similarity #292

Open thhart opened 3 years ago

thhart commented 3 years ago

Related to the latest censorship scandal around Apple and its image scanning efforts I came across this topic: https://en.wikipedia.org/wiki/Perceptual_hashing

IMHO it is a nice mechanism in general however the science behind there is still new and probably not standardized enough but maybe it can be in use for image processing already. There is an approach here: https://github.com/KilianB/JImageHash And there is a nice thesis here: https://www.phash.org/docs/pubs/thesis_zauner.pdf

I am sorry I can not be of help of further development at the moment and no I am not related to any censorship related stuff. ;-)

lessthanoptimal commented 3 years ago

interesting topic for sure! Could be combined nicely with the new image retrieval code to identify true duplicates.