图片提取文字

先上一张效果图 代码: from PIL import Image import pytesseract text=pytesseract.image_to_string(Image.open('timg.jpg'),lang='chi_sim') print(text) 具体实现: 1.使用的库有pillow(PIL的代替,PIL年久失修),pytesser,Tesseract OCR引擎。
相关文章
相关标签/搜索