Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It's already been a while since the question was asked, but somehow I still had it as an open tab here on my browser...

So, the problem here is, that you try to compare a list of contours with another list of contours, which is not possible. If you know that you have each time only one contour, try it with: cv2.matchShapes(contours[0],contours2[0],cv2.cv.CV_CONTOURS_MATCH_I1,0)