from PIL import Image
import pytesseract
#上面都是导包,只需要下面这一行就能实现图片文字识别
text=pytesseract.image_to_string(Image.open('denggao.jpeg'),lang='chi_sim')
print(text)
pytesseract图片转文字
猜你喜欢
转载自blog.csdn.net/weixin_33595571/article/details/84889842
今日推荐
周排行