Template Matching 2 ROI in a single video capture in real time
- by YS
Hi, I am working on a project to perform template matching on a video captured via my webcam. I am able to create 2 template from the webcam capture, but I am unable to perform template matching for both. The program can run only with either template matching, but not both. My program sequence is:
Capture from webcam
get template 1
get template 2
perform template 1 matching with webcam capture then perform template 2 matching with webcam capture
if fail, stop.
Can any expert advice me on this?