We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7c46155 commit 941916fCopy full SHA for 941916f
MTM/__init__.py
@@ -54,7 +54,7 @@ def computeScoreMap(template, image, method=cv2.TM_CCOEFF_NORMED, mask=None):
54
return score map as numpy as array
55
'''
56
if template.dtype == "float64" or image.dtype == "float64":
57
- raise ValueError("64-bit not supported, max 32-bit")
+ raise ValueError("64-bit images not supported, max 32-bit")
58
59
# Convert images if not both 8-bit (OpenCV matchTemplate is only defined for 8-bit OR 32-bit)
60
if not (template.dtype == "uint8" and image.dtype == "uint8"):
0 commit comments