detect sub images
Posted: 2017-06-27T08:02:59-07:00
I implemented a sub image detecting system using the compare command of imagemagick.
command = "compare -metric MAE -subimage-search "+image1+" "+image2+" null: ";
I used the above command in subimage detection. But it gives fine results only for some images. Some times it's detecting wrong images as the sub images of the original image. Can you tell me way to avoid this problem?
command = "compare -metric MAE -subimage-search "+image1+" "+image2+" null: ";
I used the above command in subimage detection. But it gives fine results only for some images. Some times it's detecting wrong images as the sub images of the original image. Can you tell me way to avoid this problem?