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


原文地址:https://www.cnblogs.com/jackduan/p/11890691.html