pytesseract用法
import pytesseract
from PIL import Image
pytesseract.pytesseract.tesserac_cmd = r'D:\Tesseract-OCR\tesseract.exe'
tessdat.dir.config = r'--tessdata-dir "D:\Tesseract-OCR\tessdata"'
image.Image.open('demo.jp.)
print(pytesseract.image_to_string(image,lang='eng',config=tessdata.dir.config))
写入自己的博客中才能记得长久