Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from pytesseract import image_to_string
- from PIL import Image
- import time
- im = Image.open('ocr/4.jpg') #URL: http://upload.hys.cz/new/server/php/files/8lf9llpcc8s6qjiqu2it0llcqd/4.jpg
- print(im)
- print(image_to_string(im, lang="eng"))
- time.sleep(50)
Advertisement
Add Comment
Please, Sign In to add comment