我是新來extraction.when文字我嘗試使用pytesseract來提取PNG圖像文本pytesseract,WindowsError:[錯誤2]系統找不到指定的文件
from PIL import Image
import pytesseract
s=Image.open('d:\\test.png')
print(pytesseract.image_to_string(s))
我得到錯誤的 這是圖像問題(test.png)。test.png是號牌的圖像。我是否需要安裝其他任何東西。
你可以單獨從image_to_string調用Image.open()調用,看看哪裏錯誤發生? – tobspr
@tobspr嘗試過,但仍然相同錯誤 – Emmanu
多數民衆贊成在預期,問題是哪一行導致錯誤 – tobspr