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
m-c02sh1f0g8wl:unproject_text-master arg000m$ python unproject_text.py deskew0.jpg
Traceback (most recent call last):
File "unproject_text.py", line 503, in
main()
File "unproject_text.py", line 490, in main
contours, hierarchy = get_contours(img)
File "unproject_text.py", line 135, in get_contours
cv2.CHAIN_APPROX_NONE)
ValueError: need more than 2 values to unpack
could you help me with this ?
The text was updated successfully, but these errors were encountered:
@anuragreddygv323@zhanglaplace it has to unpack more than 2 values but it isn't able to, check get_contours function and change 'contours, hierarchy = cv2.findContours() to _,contours, hierarchy = cv2.findContours()', this should solve. It has to do with opencv version, better to run it on opencv 3.0.0.
m-c02sh1f0g8wl:unproject_text-master arg000m$ python unproject_text.py deskew0.jpg
Traceback (most recent call last):
File "unproject_text.py", line 503, in
main()
File "unproject_text.py", line 490, in main
contours, hierarchy = get_contours(img)
File "unproject_text.py", line 135, in get_contours
cv2.CHAIN_APPROX_NONE)
ValueError: need more than 2 values to unpack
could you help me with this ?
The text was updated successfully, but these errors were encountered: