You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You may also do it by removing the first argument since it's not used later anywhere in the code.
Argument name "contr_img"
Remove the argument and code works fine
I get the following error when I try to run the script:
Traceback (most recent call last):
File "main.py", line 276, in
contr_img, contours, hierarchy = cv2.findContours(contr_retrival,cv2.RETR_EXTERNAL,cv2.CHAIN_APPROX_SIMPLE)
ValueError: not enough values to unpack (expected 3, got 2)
The text was updated successfully, but these errors were encountered: