Ask Your Question

Revision history [back]

In the template matching by OpenCV it's better at the first get canny edge from image then smooth this edge image then you can fill your mask region by zero.

In the template matching by OpenCV it's better at the first get canny edge from image then smooth this edge image then in the source image you can fill your mask region by zero.