Lazy loaded image
🗒️Windows安装使用Paddleocr
字数 225阅读时长 1 分钟
2023-12-23
2023-12-24

安装Python

下载3.8.10 版本
为什么下载这个版本,因为这个3.8版本最后一个提供windows安装包的版本,非常方便
notion image
notion image
notion image
notion image
notion image
notion image
验证
notion image

访问飞浆官网

选择计算平台
notion image
终端输入下面命令,记得不要开VPN
notion image
验证Paddle是否安装成功
终端依次输入 :
notion image

PaddleOCR 快速开始

notion image
安装PaddleOCR whl包
终端输入:
配置环境变量
提供提示需要配置环境变量,否则可能paddocr命令可能无法执行我这边是C:\Users\heyiwen\AppData\Roaming\Python\Python38\Scripts把这个路径配置到Path中
提供提示需要配置环境变量,否则可能paddocr命令可能无法执行我这边是C:\Users\heyiwen\AppData\Roaming\Python\Python38\Scripts把这个路径配置到Path中
测试Paddleocr
随便找个图片比如:
notion image
 
配置完环境变量后重启终端输入
notion image
识别成功

PaddleOCR命令

  • --image_dir: 识别图片路径
  • --use_angle_cls: 设置使用方向分类识别180度旋转文字
  • --use_gpu: 设置不使用GPU
返回解释
notion image
上一篇
Mac 编译Metabase
下一篇
使用PythonFlask调用Paddleocr进行文本识别

评论
Loading...