Skip to content
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

Adjust reading order when deleting regions #3

Closed
wrznr opened this issue Aug 15, 2019 · 0 comments · Fixed by #15
Closed

Adjust reading order when deleting regions #3

wrznr opened this issue Aug 15, 2019 · 0 comments · Fixed by #15
Assignees
Labels
bug Something isn't working

Comments

@wrznr
Copy link
Collaborator

wrznr commented Aug 15, 2019

Fully contained regions are deleted by repair. To keep the XML valid, they have to be removed from the ReadingOrder as well.

@wrznr wrznr added the bug Something isn't working label Aug 15, 2019
@wrznr wrznr self-assigned this Aug 15, 2019
wrznr added a commit to wrznr/ocrd_segment that referenced this issue Aug 15, 2019
PAGE XML requires all elements referenced in the reading order
to be actually present as a region. With this commit, deleted
zones are removed from the reading order element which itself
is reindexed afterwards.

Fixes OCR-D#3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant