How to find an image within another image using python

后端 未结 5 1967
时光取名叫无心
时光取名叫无心 2020-12-13 09:50

I\'m trying to use python to determine if one (small) image is within another (large) image.

Any suggestions before I take myself completely down the wrong path?

5条回答
  •  刺人心
    刺人心 (楼主)
    2020-12-13 10:36

    Sikuli does it using OpenCV, see here how match_by_template works and then use the Python OpenCV bindings to do the same. Doing it without OpenCV should be hard, take a look at OpenCV documentation, search for template matching, etc...

提交回复
热议问题