First time here? Check out the FAQ!
answered 2016-08-16 13:46:23 -0600
We can crop and get the image of template matching result by using the function subMat(), and providing it the Rect, which is our ROI. We can get the cords. of Rect from the result Mat of template matching method.