Skip to content

Instantly share code, notes, and snippets.

@Ronald-TR
Last active October 20, 2020 15:07
Show Gist options
  • Save Ronald-TR/7fae33efb72acdda25cb43344bdc2c34 to your computer and use it in GitHub Desktop.
Save Ronald-TR/7fae33efb72acdda25cb43344bdc2c34 to your computer and use it in GitHub Desktop.
import pytesseract as ocr
from PIL import Image
phrase = ocr.image_to_string(Image.open('phrase.jpg'), lang='por')
print(phrase)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment