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
I tried to run the project on ArchLinux with opencv 4 installed and with a virtualenv just for page_dewarp and I get the following error:
(venv) $ python page_dewarp.py example_input/boston_cooking_a.jpg
loaded boston_cooking_a.jpg with size 2448x3264 and resized to 490x653
Traceback (most recent call last):
File "page_dewarp.py", line 915, in <module>
main()
File "page_dewarp.py", line 867, in main
cinfo_list = get_contours(name, small, pagemask, 'text')
File "page_dewarp.py", line 450, in get_contours
cv2.CHAIN_APPROX_NONE)
ValueError: need more than 2 values to unpack
Any idea?
The text was updated successfully, but these errors were encountered:
Got the same error, with opencv 4.0
Just to echo here: the number of output variables was changed back to 2, apparently, in opencv 4.0
I got past the error after changing the line to:
It's a very nice project you have here.
I tried to run the project on ArchLinux with opencv 4 installed and with a virtualenv just for page_dewarp and I get the following error:
Any idea?
The text was updated successfully, but these errors were encountered: