How do I filter the false match returned from matchTemplate
best match? Here are the sample images:
This is the sub image:
The sub-image is found correctly in this image:
But not in this image:
How do I check for a bad match (like the example above) and filter it out?
Example results:
- Good match:
- Bad match: