Quantcast
Channel: Active questions tagged python - Stack Overflow
Viewing all articles
Browse latest Browse all 23390

Opencv Template matching feature does not give 100% matching resullt

$
0
0

I applied below code

"templateMap = cv.matchTemplate(img, resized_template, cv.TM_CCOEFF_NORMED)"

Before applying the image and template,apply Gaussian Blur, edge detection, and binary thresholding to both images to increase matching accuracy. Despite these efforts, I could not achieve significant improvement.

I did preprocessing on image and use cv.TM_CCOEFF_NORMED algorithm.


Viewing all articles
Browse latest Browse all 23390

Trending Articles