Skip to content

Instantly share code, notes, and snippets.

@wilspi
Created March 17, 2018 04:47
Show Gist options
  • Save wilspi/c75ec2b921cdc2b1d36bf4a41871c6b9 to your computer and use it in GitHub Desktop.
Save wilspi/c75ec2b921cdc2b1d36bf4a41871c6b9 to your computer and use it in GitHub Desktop.
Image to Text
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