johri-lab / Automatic-leaf-infection-identifier

Automatic detection of plant diseases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

exec(open('main.py').read()) File "<string>", line 74, in <module> ValueError: not enough values to unpack (expected 3, got 2)

iprathmeshdudhe opened this issue · comments

exec(open('main.py').read())
File "", line 74, in
ValueError: not enough values to unpack (expected 3, got 2)

one more
main.py", line 74, in
ret,contours,hierarchy = cv2.findContours(bordered, cv2.RETR_TREE, cv2.CHAIN_APPROX_NONE)
ValueError: not enough values to unpack (expected 3, got 2)

Make sure you are using python3 and the required version of openCv