linux安装tesseract和tesserocr

linux安装tesseract和tesserocr

   运维菜鸟     2020年7月17日 03:43     628    

1、redhat7安装tesseract

yum-config-manager --add-repo https://download.opensuse.org/repositories/home:/Alexander_Pozdnyakov/RHEL_7/

yum update

yum install tesseract

yum install tesseract-langpack-deu

 

2、Centos7安装tesseract

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

 

3、Centos8安装tesseract

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

 

4、安装tesserocr

pip install tesserocr pillow

下边是安装出现的错误

yum install libffi-devel即可解决

然后重新安装python

1.png

 

文章评论

0

其他文章