Ask Your Question

Revision history [back]

Imgproc.matchTemplate() API returns void. IS there any way to know that a match has been found?

A rectangle is drawn irrespective of the template found or not. How can I know taht a valid match for the template has been found?