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

Reading order gives reversed result #245

Open
syldor opened this issue Nov 14, 2024 · 1 comment
Open

Reading order gives reversed result #245

syldor opened this issue Nov 14, 2024 · 1 comment

Comments

@syldor
Copy link

syldor commented Nov 14, 2024

I've had results that seem just reversed, numbering from the bottom of the page to the top while it should be the opposite.

pdf_page_0

I realise I should have posted on maker, I use:

DEBUG=true OCR_ALL_PAGES=True EXTRACT_IMAGES=False marker_single Lao-text-F-13-35.pdf output --langs lo
@syldor
Copy link
Author

syldor commented Nov 15, 2024

My first file had very bad OCR in the pdf (english letters for the lao language). It seems to influence the ordering model in some way? If I use surya with the same file but no OCR in it (print to file before), then the result is correct:

pdf_page_0

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

No branches or pull requests

1 participant