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

ocrd_utils: allow scaling images #707

Merged
merged 2 commits into from
Sep 20, 2021
Merged

Conversation

bertsky
Copy link
Collaborator

@bertsky bertsky commented Aug 24, 2021

This aids image up- or downsampling in processors. For the beginning, processors must do this strictly locally (i.e. undo its effects before annotating new images), because there we still do not have a way to represent scale factor in PAGE-XML. But even now it would be helpful to make full use of the local coordinate system (transform) transparently.

For a full (but unrealistic) example, see here.

@bertsky bertsky requested a review from kba August 24, 2021 15:39
@kba kba merged commit 58ff068 into OCR-D:master Sep 20, 2021
@bertsky bertsky deleted the ocrd-utils-scale branch June 6, 2024 14:10
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