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

The 'Empty page!!' warning doesn't show in the output #31

Closed
Yaoshicn opened this issue Mar 8, 2016 · 1 comment
Closed

The 'Empty page!!' warning doesn't show in the output #31

Yaoshicn opened this issue Mar 8, 2016 · 1 comment

Comments

@Yaoshicn
Copy link

Yaoshicn commented Mar 8, 2016

Hi!
When I use the tesseract in my terminal(OS X 10.11.3) like this:

tesseract test.png out

It will raise a warning:Empty page!!.
But when I use pytesseract in my code(Python 2.7.10) like this:

try:
    import Image
except ImportError:
    from PIL import Image
import pytesseract

receipt = Image.open('test.png')
receipt.load()
print(pytesseract.image_to_string(receipt))

The output is consist of 2 empty lines.
So, the 'Empty page!!' warning doesn't show in the output.
Thanks.

@bozhodimitrov
Copy link
Collaborator

Please provide sample image.
Closing the issue, since I can't reproduce.
Feel free to reopen if you want.

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

No branches or pull requests

2 participants