import pytesseract
from PIL import Image
text = pytesseract.image_to_string(Image.open('09.jpg'),lang ='chi_sim')
print(text)
tesseract识别中文示例代码
最新推荐文章于 2024-01-22 16:01:05 发布
import pytesseract
from PIL import Image
text = pytesseract.image_to_string(Image.open('09.jpg'),lang ='chi_sim')
print(text)