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

Iterator.GetImage throws ArgumentException: Pix handle must not be zero (null). #206

Closed
Divaite-zz opened this issue Sep 4, 2015 · 5 comments
Labels

Comments

@Divaite-zz
Copy link

Hello.

If Pix is processed by TesseractEngine with region specified (less than Pix size)

int x, y;
iterator.GetImage(PageIteratorLevel.Word, 0, out x, out y);

throws System.ArgumentException with Additional information: Pix handle must not be zero (null).
If region is not specified, means the whole Pix is processing, function works without any issue.

What should I do to fix that?

@charlesw
Copy link
Owner

charlesw commented Sep 6, 2015

Thanks for the bug report, I've see if I can reproduce it and issue a fix in the upcoming release.

@Divaite-zz
Copy link
Author

Sure, let me know if you need any additional information.
When are you planing to do the next release?

@charlesw
Copy link
Owner

charlesw commented Sep 7, 2015

Aiming for next weekend, depending on if I or others find any other issues.

@Divaite-zz
Copy link
Author

Cool, thanks. Will wait to test.

@charlesw charlesw added the bug label Sep 13, 2015
@charlesw
Copy link
Owner

I've found and fixed the issue but my git installation seems to be stuffed... I'll push the fix once I'm up and running again.

charlesw added a commit that referenced this issue Sep 14, 2015
@charlesw charlesw added this to the Tesseract 3.04 milestone Sep 14, 2015
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