connie_tong

导航

 

from PIL import Image
im = Image.open('C:\\Program Files\\Python38\\Lib\\site-packages\\pytesser\\phototest.tif')
from pytesseract import image_to_string
text = image_to_string(im)
print(text)

 

posted on 2021-03-02 14:35  connie_tong  阅读(51)  评论(0编辑  收藏  举报