Template Matching
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?
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!
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.