Created
March 17, 2018 04:47
-
-
Save wilspi/c75ec2b921cdc2b1d36bf4a41871c6b9 to your computer and use it in GitHub Desktop.
Image to Text
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from PIL import Image | |
from pytesseract import image_to_string | |
print image_to_string(Image.open('test.png')) | |
#print image_to_string(Image.open('test-english.jpg'), lang='eng') |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment