Skip to content

Tesseract creates output for missing input #1023

@stweil

Description

@stweil

If Tesseract is called with a non-existing image file, it creates an empty output file.

I'd expect that no output is created in that case.

Examples:

# Empty output.txt is created.
tesseract nonexisting_image.tiff output
# Empty output.hocr is created.
tesseract nonexisting_image.tiff output hocr

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions