手抄报 安全手抄报 手抄报内容 手抄报图片 英语手抄报 清明节手抄报 节约用水手抄报

Python tesserocr的安装教程

时间:2024-10-14 21:52:59

1、tesserocr是图像识别库,基于tes衡痕贤伎seract,是tesseract的Python API封装而成的,想要安装tesserocr,需要先安装tesseract

2、双击下载的tesseract安装包,在弹出的界面中点击下一步

Python tesserocr的安装教程
Python tesserocr的安装教程

3、再勾选同意,点击下一步

Python tesserocr的安装教程

4、根据自己的情况选择用户的使用情况,这里我默认点击下一步

Python tesserocr的安装教程

5、勾选添加多个语言点击下一步,可以识别多个语言的文字

Python tesserocr的安装教程

6、选择安装位置,点击下一步install等待安装完成

Python tesserocr的安装教程
Python tesserocr的安装教程

7、再把安装的路径配置到环境变量,在cmd下运行tesseract验证安装结果

Python tesserocr的安装教程

8、最后在命令行使用pip3 install tesserocr pillow安装tesserocr

Python tesserocr的安装教程

9、总结: 在安装tesserocr是基于tesseract,安装完成后在使用命令安装

© 手抄报圈