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

Mismatch between Canvas and OCR aspect ratio in "Basic Newspaper" recipe #435

Open
jbaiter opened this issue Sep 29, 2023 · 1 comment
Open
Assignees

Comments

@jbaiter
Copy link

jbaiter commented Sep 29, 2023

Page 1 of the first sample newspaper is fine, but on page 2, there's a mismatch in aspect ratio between canvas and OCR that leads to broken rendering (mirador-textoverlay and pdiiif) as well as misaligned content search annotations.

Canvas:
w=3602, h=5000, ar=0.72040

https://github.com/IIIF/cookbook-recipes/blob/master/recipe/0068-newspaper/newspaper_issue_1-manifest.json#L110-L111

OCR:
w=3536, h=4999, ar=0.70734

https://github.com/IIIF/cookbook-recipes/blob/master/recipe/0068-newspaper/newspaper_issue_1-alto_p2.xml#L17

@glenrobson glenrobson self-assigned this Oct 6, 2023
@glenrobson
Copy link
Member

Glen to look into fixing this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Low priority
Development

No branches or pull requests

2 participants