Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ValueError: too many values to unpack (expected 2) meaning you need another varaible.

 ret, contours, hierarchy = cv2.findContours(thresh,cv2.RETR_TREE,cv2.CHAIN_APPROX_SIMPLE)