image matching/detection in iphone using opencv

谁都会走 提交于 2019-12-10 11:29:49

问题


I have 2 images, say bigImage and smallImage. I want to detect whether the smallImage is there anywhere in the bigImage, irrespective of its orientation or transforms(rotations). If its there, it should return true and otherwise return false. I have been going through the template matching (cvMatchTemplate) method in openCV, but haven't reach anywhere since there aren't much difference between the output for a true and a false match. Is my requirement still possible using cvMatchTemplate or are there any other methods in openCV for getting to this.


回答1:


This is a very general and very hard problem, with lots of solutions out there. None of them are silver bullets; hopefully, one of them will work for your particular problem. Try taking a look at SIFT, color histogram matching, SURF, HoG, Viola-Jones, DOT, ORB. Some of these have OpenCV implementations; others don't. You should read up on the available options and their strengths and weaknesses, and then try some out.



来源:https://stackoverflow.com/questions/8083866/image-matching-detection-in-iphone-using-opencv

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