1 | initial version |
Put parenthesis bracket. Change this:
cc, warp_matrix =cv2.findTransformECC(grad1, grad2, warp_matrix, warp_mode, criteria)
to:
(cc, warp_matrix) = cv2.findTransformECC(grad1, grad2, warp_matrix, warp_mode, criteria)
That could become 6 pos.