安装 tesseract

1 环境

Centos7中使用yum安装 tesseract

2 安装epel 源

$ yum -y install epel-release

3 安装 tesseract

$ yum -y install tesseract

4 检查安装和支持的语言

$ tesseract --list-langs

5 安装最新版

epel 默认不是最新版,使用以下方式安装最新

$ yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/CentOS_7/
$ sudo rpm --import https://build.opensuse.org/projects/home:Alexander_Pozdnyakov/public_key
$ yum update
$ yum install tesseract 
$ yum install tesseract-langpack-deu

CentOS8安装方式

$ dnf config-manager --add-repo https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/CentOS_8/
$ rpm --import https://build.opensuse.org/projects/home:Alexander_Pozdnyakov/public_key
$ dnf install tesseract
$ dnf install tesseract-langpack-deu

你可能感兴趣的:(安装 tesseract)