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

UZN support broken #594

Open
charlesw opened this issue Jan 23, 2022 · 1 comment
Open

UZN support broken #594

charlesw opened this issue Jan 23, 2022 · 1 comment
Labels

Comments

@charlesw
Copy link
Owner

After upgrading to Tesseract 5.0 (see #579) the uzn test, CanParseUznFile, is failing with the following error:

  Expected string length 21 but was 33. Strings differ at index 5.
  Expected: "This is another test\n"
  But was:  "This s:h:}s:s as::tott;setr tESt\n"

Confirmed that I get the same result when using tesseract.exe so nothing to do with wrapper.

@charlesw charlesw added the bug label Jan 23, 2022
charlesw added a commit that referenced this issue Jan 23, 2022
Known issues:
* #489 - Setting regions of interest doesn't work
* #490 - PageSegMode.SingleBlockVertText does not work
* #594 - Unz files don't work
@AlexPieczynski
Copy link

In case it helps anyone else, UZN support was broken in Tesseract 5.0 tesseract-ocr/tesseract#3837
That is why it doesn't work in this package.

Although this package claims to be on version 5.2.0 of Tesseract, it is not. Evidence provided by this issue #667 in addition to the fact that UZN support is broken in this package.

I can confirm that UZN support is working after locally upgrading Tesseract DLLs to 5.4.0.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants