ObjectDatasetTools
ObjectDatasetTools copied to clipboard
ValueError: not enough values to unpack (expected 3, got 2)
Lamp is assigned class label 0.
0%| | 0/1199 [00:00<?, ?it/s]
Traceback (most recent call last):
File "create_label_files.py", line 155, in
how can i do? help me!
@shqmffl486 Change
_, contours, _ = cv2.findContours(thresh.copy(), cv2.RETR_EXTERNAL,
cv2.CHAIN_APPROX_SIMPLE)
to
contours, _ = cv2.findContours(thresh.copy(), cv2.RETR_EXTERNAL,
cv2.CHAIN_APPROX_SIMPLE)