Template Matching

asked 2015-06-30 06:14:50 -0600

maazi gravatar image

updated 2015-06-30 06:45:06 -0600

I would like to know does template matching work properly if the image is zoomed in or out. The tutorials provide matching code for 2 still images. but what if i have a still image as template and the source is changing image (images from a live video). Will it be able to detect properly?

edit retag flag offensive close merge delete

Comments

1

You will have to lower the threshold on your probability map of the matching template but it should work. In order to be more robust, start by adding some blurring to the template also!

StevenPuttemans gravatar imageStevenPuttemans ( 2015-06-30 06:20:59 -0600 )edit

I do not think so, that is why CascadeClassifier is made for... But you can try it, it is possible to work in your case (especially if the template is some kind of logo or something like that). If you have the code for template matching, you can just modify it a little for searching the template in the video.

thdrksdfthmn gravatar imagethdrksdfthmn ( 2015-06-30 06:22:00 -0600 )edit