Skip to content

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

Open
@CodeWarrior-Hawaii

Description

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions