1 | initial version |
My understanding of the matchTemplate is that it's a very basic algorithm. It will move your template all over the image to find the best match. If you find a match that is over the specified threshold, it will return the position. If you blur the template, it will search for this blured template. Maybe it can help in your case but if your image is nice and clear, forget that.
By the way, if you are looking to find parts of face, there are already a ton of tools to do that in openCV. You should use the XML that have been trained with traincascade.exe and that are given with openCV code. The last time I checked, they can find nose, eyes, mouth, etc...
Hope it helps!