Eliminating false positives while using the matchTemplate() function?
The matchTemplate() function in opencv seems to giving positives even when the desired Template is not there in the Scene image.On searching,found out that it always gives a detection/match even if the template is not there.The detection being the closest match. Since my application requires that the template not necessarily be in the scene image. This brings me to my question. Is there a way to minimize or even eliminate these false positives.Any approach towards this problem is appreciated.