当前位置:网站首页>浅浅写一下PPOCRLabel的使用及体验
浅浅写一下PPOCRLabel的使用及体验
2022-08-02 14:02:00 【weixin_50862344】
依赖包
我是基于之前建立好的paddle_env环境,因此在使用过程中实际上(根据报错)需要的包只有这两个
pip install xlrd
pip install PyQt5
关于报错的话
ModuleNotFoundError: No module named ‘xlrd’
ModuleNotFoundError: No module named 'PyQt5
实际使用
①首先要在虚拟环境中先cd到PPOCRLabel所在的文件夹,根据版本不同位置也不相同
②了解一下PPOCRLabel的参数
PPOCRLabel.py [-h] [–lang [LANG]] [–gpu [GPU]] [–kie [KIE]] [–predefined_classes_file [PREDEFINED_CLASSES_FILE]]
实际上使用的比较多的就是
- –lang +后面加上相应的语言代码:表示识别的语言类型
- –gpu:是否使用gpu(默认使用),不使用的话接上False
我是使用小新pro13,所以我使用代码就是
D:\conda\envs\paddle_env\python.exe PPOCRLabel.py --lang ch --gpu False
D:\conda\envs\paddle_env\python.exe实际上是我使用的python(我有多个python)
然后附上相应的图片
D:\conda\envs\paddle_env\python.exe PPOCRLabel.py
似乎直接这样也可以
边栏推荐
猜你喜欢

What are the file encryption software?Keep your files safe

The future of financial services will never stop, and the bull market will continue 2021-05-28

瑞吉外卖笔记——第10讲Swagger

C language improvement (3)

You can't accept 60% slump, there is no eligible for gain of 6000% in 2021-05-27

CVE-2020-27986 (Sonarqube sensitive information leak) vulnerability fix

第二讲 软件生命周期

数据机构---第六章图---图的遍历---选择题

RKMPP库快速上手--(一)RKMPP功能及使用详解

微信小程序-最近动态滚动实现
随机推荐
Kunpeng devkit & boostkit
els 长条碰撞变形判断
第二讲 软件生命周期
binary search && tree
hsql是什么_MQL语言
网络安全第六次作业
文件加密软件有哪些?保障你的文件安全
The world's largest Apache open source foundation is how it works?
Sentinel源码(五)FlowSlot以及限流控制器源码分析
Raft对比ZAB协议
第十三单元 混入视图基类
Detailed explanation of stored procedures
理解TCP长连接(Keepalive)
网络安全第一次作业(2)
网络安全第四次作业
MySQL数据库语法格式
RKMPP库快速上手--(一)RKMPP功能及使用详解
Audio processing: floating point data stream to PCM file
vim复制粘贴_vim如何复制粘贴
此次519暴跌的几点感触 2021-05-21