Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ValueError: too many values to unpack #4

Open
Umair-Anwar opened this issue Oct 24, 2017 · 3 comments
Open

ValueError: too many values to unpack #4

Umair-Anwar opened this issue Oct 24, 2017 · 3 comments

Comments

@Umair-Anwar
Copy link

Umair-Anwar commented Oct 24, 2017

capture

with pre 0.18 version of skimage.

image

Please look into it.
Thanks,
Umair

@msclar
Copy link

msclar commented Dec 10, 2017

I'm having the same error, were you able to solve it? Thanks!

@developer-young
Copy link

Here the return statements have changed, see http://docs.opencv.org/modules/imgproc/doc/structural_analysis_and_shape_descriptors.html?highlight=findcontours
It should be change to read:
_,ctrs, hier = cv2.findContours(im_th.copy(), cv2.RETR_EXTERNAL, cv2.CHAIN_APPROX_SIMPLE)

@egvs
Copy link

egvs commented Apr 25, 2018

capture2

I got this error while executing the same code for another image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants