python import pytesseract from PIL import Image python image = Image.open('image.png') python text = pytesseract.image_to_string(image, lang='chi_sim') print(text) python image = Image.open('image.png') # OCR text = pytesseract.image_to_string(image, lang='chi_sim') print(text)


上一篇:
下一篇:
切换中文