Multi-template matching with OpenCV
Multi-template matching with OpenCV – PyImageSearch
“As we saw in last week’s tutorial, applying basic template matching results in only one instance of a particular template being matched, as seen in Figure 1. Our input image contains the eight of diamonds. While our template contains the diamond symbol, we would expect to detect all diamonds in the input image. However, when using basic template matching, multi-object detection simply isn’t possible. The solution is to filter the result matrix from the cv2.matchTemplate function and then apply non-maxima suppression…”
Source: www.pyimagesearch.com/2021/03/29/multi-template-matching-with-opencv/
March 30, 2021
Subscribe
Login
Please login to comment
0 Comments