Skip to content

Processing blank (white) image; GetProperties on page throws exception. #308

Open
@CodeWarrior-Hawaii

Description

@CodeWarrior-Hawaii

I have found this to be pretty reproducible. To reproduce:

  1. Call tesseract on a blank (no text) image.
  2. Call Page.GetIterator().GetProperties() on the resulting Page.
  3. Receive a System.AccessViolationException stating that "Attempted to read or write protected memory. This is often an indication that other memory is corrupt."

NOTE: attached file is a TIFF! Rename it from .gif to .tif. GitHub does not handle tiff images.
0000089_00005

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions