Ask Your Question

Revision history [back]

Change the code from:

(contours, heirachy) = cv2.findcontours(etc)

to

_, contours, heirachy = cv2.findcontours(etc)

I believe the function returns 3 things, andyou have provided space for 2 things to be assigned, so it cannot 'pack' 3 things into 2. So its got "Too many Values Too unpack"