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

How are you calling it? #4

Closed
wcooper90 opened this issue Oct 23, 2020 · 1 comment
Closed

How are you calling it? #4

wcooper90 opened this issue Oct 23, 2020 · 1 comment

Comments

@wcooper90
Copy link

How are you calling it?

Originally posted by @chrisspen in #3 (comment)

Hi Chris,

We've tried:
text = pytesseract.image_to_string(img).encode('latin-1', 'ignore')

As well as executing from the command line and then reading it from a file:

os.system("tesseract -l eng /var/app/current/inputs/" + str(i) + ".png text")

Thanks for getting back so quickly.

@chrisspen
Copy link
Owner

Please post comments under the original issue. You don't need to create a new issue for new comments.

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