This link has sample on Template matching.Ideally there is an image and a template for matching.How do I get the result status as True/False if I provide a wrong template. http://opencv-python-tutroals.readthedocs.org/en/latest/py_tutorials/py_imgproc/py_template_matching/py_template_matching.html
In the statement below can we get false if there is no match ?
Apply template Matching
res = cv2.matchTemplate(img,template,method)