First time here? Check out the FAQ!
answered 2017-12-31 06:41:37 -0600
"shapes_and_colors.png" -- this is a string, a filename, not an image ;)
use this:
cv2.drawContours(im, contours, -1, (0,255,0), 3) cv2.imshow("shapes_and_colors", im) cv2.waitKey()