-
Notifications
You must be signed in to change notification settings - Fork 1
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
warn if PAGE regions overlap #1
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
IIUC this is intended for pixel classifier training, where a flat colormap is the correct representation. But in PAGE-XML, regions may overlap each other arbitrarily, and can also be recursive (and in some cases must be).
So to avoid any unintended errors, IMHO users should be warned whenever overlaps do exist (and if they do, how large).
Also, there should still be a reasonable fallback strategy. But in the current implementation, images replace text, separators replace images, tables replace separators. For general purpose layouting, I think this should instead be
image < text < table < sep
.The text was updated successfully, but these errors were encountered: