How to find an image within another image using python

后端 未结 5 1958
时光取名叫无心
时光取名叫无心 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:37

    Have a look at my answer to a similar question for a code example using OpenCV. The conversion from PIL to numpy is straight forward, e.g. just use np.array(pilimage).

提交回复
热议问题