# Finding contours | |
im_gray = gray(im) | |
im_blur = blur(im_gray) | |
im_thresh = threshold(im_blur) | |
contours, _ = cv2.findContours(im_thresh, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_NONE) |
This comment has been minimized.
This comment has been minimized.
Hi, could you try the following code because it could be possible you have a different OpenCV version. _, contours, _ = cv2.findContours(im_thresh, cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_NONE) |
This comment has been minimized.
This comment has been minimized.
Thank you |
This comment has been minimized.
This comment has been minimized.
Welcome! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This comment has been minimized.
ValueError: too many values to unpack (expected 2)
I'm having this error. How can I solve it?
Any idea.