Skip to content

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

@avoiceofreason

Description

@avoiceofreason

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions