【轉載】安裝tesseract 和tesserocr

參考的博客爲:

https://blog.csdn.net/wang_hugh/article/details/80760940

https://blog.csdn.net/u014179267/article/details/80908790

https://blog.csdn.net/u010134642/article/details/78747630

 

1.需要在https://github.com/simonflueckiger/tesserocr-windows_build/releases 下載tesseract whl文件

2.在whl文件目錄下執行 pip install xxxxx.whl

3.下載tesserocr:https://digi.bib.uni-mannheim.de/tesseract/

4.執行安裝,安裝後設置環境變量

5.校驗是否安裝成功

在cmd 運行tesseract -v,如下圖則安裝成功

6.測試tesseract 

 

7.在pycharm 執行,需要修改pytesseract.py文件,修改如圖

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章