当前位置:网站首页>浅浅写一下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
似乎直接这样也可以
边栏推荐
猜你喜欢
随机推荐
第十三单元 混入视图基类
Configure zabbix auto-discovery and auto-registration.
一维卷积神经网络_卷积神经网络的基础知识「建议收藏」
HALCON: 内存管理(Memory Management)
你接受不了60%的暴跌,就没有资格获得6000%的涨幅 2021-05-27
What is the difference between web testing and app testing?
The most complete ever!A collection of 47 common terms of "digital transformation", read it in seconds~
方舟生存进化淘宝面板服务器是怎么一回事?
微信小程序-最近动态滚动实现
Flask框架
RHCE第一天作业
Break the limit of file locks and use storage power to help enterprises grow new momentum
ping命令的使用及代码_通过命令查看ping路径
xshell连接虚拟机步骤_建立主机与vm虚拟机的网络连接
stack && queue
网络安全第一次作业
Sentinel源码(四)(滑动窗口流量统计)
Flask上下文,蓝图和Flask-RESTful
网络安全第二次作业
Awesome!Alibaba interview reference guide (Songshan version) open source sharing, programmer interview must brush









