Skip to content

Fix margins#28

Merged
kba merged 3 commits into
OCR-D:masterfrom
bertsky:fix-margins
Feb 1, 2022
Merged

Fix margins#28
kba merged 3 commits into
OCR-D:masterfrom
bertsky:fix-margins

Conversation

@bertsky

@bertsky bertsky commented Jan 31, 2022

Copy link
Copy Markdown
Collaborator

No description provided.

@kba kba left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is much clearer and more importantly, looks correct :) I am still learning new things about ALTO/PAGE printspace/border

# ║└───┘ ║ ╔═══════╗ ║║ ║ ║ └───┘
# ║ ║ ║ ║ ║║ ║ ║
# ╚═══════╝ ╚═══════╝ ╚╝ ╚══╝
#

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Very useful. Pretty, too.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Comment thread ocrd_page_to_alto/convert.py Outdated
else:
return textequivs[textequiv_index].Unicode

def contains(el, bbox):

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If we move forward with ALTO support in core this might be a useful addition to ocrds_utils.

Comment thread ocrd_page_to_alto/convert.py Outdated
Comment thread ocrd_page_to_alto/convert.py Outdated
Comment thread ocrd_page_to_alto/convert.py Outdated
@kba kba merged commit f107c97 into OCR-D:master Feb 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants