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
The code works fine for a some of my own images, but for a few images I get this TypeError:
Traceback (most recent call last):
File "page_dewarp.py", line 918, in
main()
File "page_dewarp.py", line 871, in main
spans = assemble_spans(name, small, pagemask, cinfo_list)
File "page_dewarp.py", line 493, in assemble_spans
candidate_edges.sort()
TypeError: '<' not supported between instances of 'ContourInfo' and 'ContourInfo'
The text was updated successfully, but these errors were encountered:
The code works fine for a some of my own images, but for a few images I get this TypeError:
Traceback (most recent call last):
File "page_dewarp.py", line 918, in
main()
File "page_dewarp.py", line 871, in main
spans = assemble_spans(name, small, pagemask, cinfo_list)
File "page_dewarp.py", line 493, in assemble_spans
candidate_edges.sort()
TypeError: '<' not supported between instances of 'ContourInfo' and 'ContourInfo'
The text was updated successfully, but these errors were encountered: