1. 程式人生 > >Python圖片文字識別轉換程式

Python圖片文字識別轉換程式

網上見到有人用python識別圖片文字

自己也試了試

其實沒啥技術含量

全是第三方庫

from PIL import Image
import pytesseract
text=pytesseract.image_to_string(Image.open('Capture.jpg'),lang='chi_sim')
print(text)

其中還需要一個識別軟體

CSDN上需要C幣

有需要安裝包包的留言郵箱