Whats the best way to check whether one image is somewhere on/similar to another image?

房东的猫 提交于 2019-12-23 03:23:24

问题


I want to use openCV to check whether an image is somewhere on another image. This other image could also be a photo. I dont want to know the position or anything, I just want to know whether the image is there or not - or, if the images are "equal enough".

Example: I use my iphone to take a photo of a static object. Now, one day later I take this photo again and I want to check if it is the mostly the same object.

Whats the best way to do this? I alos tried CVMatchTemplate (but was not able to get a working check) and CVNorm.


回答1:


Maybe SURF (Speeded Up Robust Features) can to this. I used it to check if an template image can be found on objects along an moving conveyor belt. Have a look on this page, it describes the usage of SURF with the EMGU-OpenCV wrapper classes.



来源:https://stackoverflow.com/questions/7164986/whats-the-best-way-to-check-whether-one-image-is-somewhere-on-similar-to-another

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