Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Should I blur the template used in matchTemplate()?

When I create a template to use wiuth matchTemplate, should I blur the template a bit, or should I use a nice and clean image?

I am matching a template containing parts of the face, could be a nose, mouth, eye or similar. Grayscale. Before I run the matchTemplate method I use a gaussianBlur on the original cam frame.

Do the "matchTemplate" blur the image & template? if not, then blur the template might be better?

Thanks!

Should I blur the template used in matchTemplate()?

When I create a template to use wiuth matchTemplate, should I blur the template a bit, or should I use a nice and clean image?

I am matching a template containing parts of the face, could be a nose, mouth, eye or similar. Grayscale. Before I run the matchTemplate method I use a gaussianBlur on the original cam frame.

Do the "matchTemplate" blur the image & template? if not, then blur the template might be better?

Thanks!