digit-recognition icon indicating copy to clipboard operation
digit-recognition copied to clipboard

ValueError: too many values to unpack

Open Umair-Anwar opened this issue 8 years ago • 3 comments

capture

with pre 0.18 version of skimage.

image

Please look into it. Thanks, Umair

Umair-Anwar avatar Oct 24 '17 16:10 Umair-Anwar

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

msclar avatar Dec 10 '17 19:12 msclar

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)

developer-young avatar Feb 13 '18 08:02 developer-young

capture2

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

egvs avatar Apr 25 '18 07:04 egvs