Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

yes, this is using the L2 norm.

(the default value for normType here: norm(src1, src2[, normType[, mask]]) -> retval)

you can also use:

cv2.NORM_HAMMING = 6
cv2.NORM_HAMMING2 = 7
cv2.NORM_INF = 1
cv2.NORM_L1 = 2
cv2.NORM_L2 = 4
cv2.NORM_L2SQR = 5
cv2.NORM_MINMAX = 32