更新时间:2023-02-04 15:45:48
获取您正在搜索的子图像,并在大图中搜索。
Get pieces of your sub-image you're searching and search it in the big image.
您可以使用ImageMagick的子图像搜索:
You can use ImageMagick's sub-image search:
compare -verbose -dissimilarity-threshold 0.1 -subimage-search subimage.jpg bigimage.jpg
它会告诉你TooDissimilar或它会告诉你子图像的x,y位置。
It will either tell you "TooDissimilar" or it will tell you the x,y position of the subimage.