ValueError: not enough values to unpack (expected 3, got 2) opencv python 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)
contours, hierarchy = cv2.findContours(thresh, cv2.RETR_TREE, cv2.CHAIN_APPROX_SIMPLE)