tesseract 安装

https://github.com/tesseract-ocr/tesseract/wiki

windows安装简单  https://blog.csdn.net/showgea/article/details/82656515

 

linux安装   ubuntu18 apt默认安装4.0              

  1. sudo apt-get update
  2. sudo apt install tesseract-ocr-chi-sim

要安装5.0,要先加PPA

sudo add-apt-repository ppa:alex-p/tesseract-ocr-devel
sudo apt-get update
sudo apt install tesseract-ocr-chi-sim

测试 tesseract -v

试验: tesseract -l chi_sim --psm 6 --tessdata-dir /usr/share/tesseract-ocr/5/tessdata/ /images/a.jpg stdout


ubuntu 安装卸载软件
https://blog.csdn.net/weixin_39520629/article/details/79825369


posted @ 2019-11-19 17:08  jackduan1  阅读(582)  评论(0编辑  收藏  举报