ValueError: not enough values to unpack (expected 4, got 3) [15120] Failed to execute script no code example
Example: ValueError: not enough values to unpack (expected 3, got 2)
contours, hierarchy = cv2.findContours(thresh, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)