Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

this is a version conflict, only the opencv3 version of cv2.drawContours() returns another image, with 2.4, you'd simply use it like:

 cv2.drawContours(img, contours, -1, (0,255,0), 3)
 cv2.imshow("omg", img)