当前位置:网站首页>Briefly write about the use and experience of PPOCRLabel
Briefly write about the use and experience of PPOCRLabel
2022-08-02 14:19:00 【weixin_50862344】
Dependencies
I am based on the paddle_env environment created before, so I actually need only these two packages during use (according to the error report)
pip install xlrdpip install PyQt5About the error message
ModuleNotFoundError: No module named 'xlrd'
ModuleNotFoundError: No module named 'PyQt5
Actual use
①First you need to in the virtual environment cd to the folder where the PPOCRLabel is located, the location is different according to the version
②Learn about the parameters of the PPOCRLabel
PPOCRLabel.py [-h] [–lang [LANG]] [–gpu [GPU]] [–kie [KIE]] [–predefined_classes_file [PREDEFINED_CLASSES_FILE]]
In fact, the more used is
- –lang + followed by the corresponding language code: indicates the recognized language type
- –gpu: Whether to use gpu (default), if not, connect to False
I am using Xiaoxin pro13, so the code I use is
D:\conda\envs\paddle_env\python.exe PPOCRLabel.py --lang ch --gpu FalseD:\conda\envs\paddle_env\python.exe is actually the python I use (I have multiple pythons)
Then attach the corresponding picture
D:\conda\envs\paddle_env\python.exe PPOCRLabel.pyIt seems to work directly
边栏推荐
猜你喜欢

MobileNet ShuffleNet & yolov5 replace backbone

第五单元 保持状态

第十单元 前后连调

目标检测场景SSD-Mobilenetv1-FPN

跑yolov5又出啥问题了(1)p,r,map全部为0

window10下半自动标注

logback源码阅读(二)日志打印,自定义appender,encoder,pattern,converter

史上最全!47个“数字化转型”常见术语合集,看完秒懂~
![[ROS] The difference between roscd and cd](/img/a8/a1347568170821e8f186091b93e52a.png)
[ROS] The difference between roscd and cd

About the development forecast of the market outlook?2021-05-23
随机推荐
[ROS]roscd和cd的区别
The bad policy has no long-term impact on the market, and the bull market will continue 2021-05-19
Flask框架
[ROS](01)创建ROS工作空间
STM32(F407)—— 堆栈
chapter7
ftp常用命令详解_iftop命令详解
第五单元 保持状态
How to solve 1045 cannot log in to mysql server
理解TCP长连接(Keepalive)
监管再次重拳出击,后市如何?2021-05-22
无序数组排序并得到最大间隔
瑞吉外卖笔记——第10讲Swagger
The world's largest Apache open source foundation is how it works?
paddleocr window10初体验
线代:已知一个特征向量快速求另外两个与之正交的特征向量
run yolov5
如何解决1045无法登录mysql服务器
第七单元 ORM表关系及操作
你接受不了60%的暴跌,就没有资格获得6000%的涨幅 2021-05-27