valueerror not enough values to unpack (expected 2 got 1) pcolormesh 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)