-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
AssertionError from add_baseline(geom) #100
Comments
Thanks @MehmedGIT for the detailled report! What this means is that while trying to join baseline segments for the line, ordering them by their x coordinate, the sequence did not turn out strictly monotonous: Obviously, we are trying to extract a single baseline from two neighbouring lines here. I'll try to reproduce and see what I can do. |
Note: I cannot reproduce with current head of https://github.com/bertsky/ocrd_cis/tree/fix-alpha-shape and ocrd_tesserocr (based on Tesseract 5.3.4) and ocrd_segment. The workflow runs through – here is a screenshot from OCRD Browser: Could you please try to update said modules and try again? |
I will. Thanks for having a look. |
I have found an issue for a specific page but I am not sure what exactly the problem is other than that the page seems empty:
The used workflow:
Here is the problematic image of page 510:
It is worth mentioning that other similar pages did not fail. E.g. pages 508 and 509:
The text was updated successfully, but these errors were encountered: