lifuguan opened this issue 5 years ago · 0 comments
In line 138 :
M = cv2.moments(contour)
Error:
-210:Unsupported format or combination of formats) in function 'moments'
solution:
M = cv2.moments(contour, 1)