Skip to content

Commit 941916f

Browse files
committed
correct error message
1 parent 7c46155 commit 941916f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

MTM/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def computeScoreMap(template, image, method=cv2.TM_CCOEFF_NORMED, mask=None):
5454
return score map as numpy as array
5555
'''
5656
if template.dtype == "float64" or image.dtype == "float64":
57-
raise ValueError("64-bit not supported, max 32-bit")
57+
raise ValueError("64-bit images not supported, max 32-bit")
5858

5959
# Convert images if not both 8-bit (OpenCV matchTemplate is only defined for 8-bit OR 32-bit)
6060
if not (template.dtype == "uint8" and image.dtype == "uint8"):

0 commit comments

Comments
 (0)