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

Ubuntu 24.04 - PDF with images and no OCR layer. #5

Open
avoiceofreason opened this issue Jan 21, 2025 · 0 comments
Open

Ubuntu 24.04 - PDF with images and no OCR layer. #5

avoiceofreason opened this issue Jan 21, 2025 · 0 comments

Comments

@avoiceofreason
Copy link

If you try and process a PDF that is made from images with no OCR text layer or no other text then pdf-narrator is unable to extract any text and gets a bit upset with a few error messages in the log as the .txt file is empty.

Useful tip:

Use ocrmypdf to add an OCR layer to existing PDF files:

ocrmypdf --force-ocr --output-type pdf --rotate-pages --deskew --clean input.pdf output.pdf

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