Good way to identify similar images?

情到浓时终转凉″ 提交于 2019-11-28 03:09:44
fxtentacle

What you want to use is:

  1. Feature extraction
  2. Hashing
  3. Locally aware bloom hashing.

  1. Most people use SIFT features, although I've had better experiences with not scale-invariant ones. Basically you use an edge detector to find interesting points and then center your image patches around those points. That way you can also detect sub-images.

  2. What you implemented is a hash method. There's tons to try from, but yours should work fine :)

  3. The crucial step to making it fast is to hash your hashes. You convert your values into unary representation and then take a random subset of the bits as the new hash. Do that with 20-50 random samples and you get 20-50 hash tables. If any feature matches 2 or more out of those 50 hash tables, the feature will be very similar to one you already stored. This allows you to convert the abs(x-y)

Hope it helps, if you'd like to try out my self-developed image similarity search, drop me a mail at hajo at spratpix

You'll find huge amounts of literature on the subject. Just go over to Google Scholar or IEEE Xplore to search for articles. I had some contact with field when I did a project on shape recognition (largely insensitive to noise, rotations and resizes) in college -- here is the article.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!