19

PPOCRLabel 半自动化图形标注工具初体验;

 3 years ago
source link: https://my.oschina.net/u/3734816/blog/4791024
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
PPOCRLabel 半自动化图形标注工具初体验;

Windows + Anaconda

下载安装Anaconda(Python 3+)

conda install pyqt=5
cd ./PPOCRLabel # 将目录切换到PPOCRLabel文件夹下
pyrcc5 -o libs/resources.py resources.qrc
python PPOCRLabel.py

按官方文档执行完上述命令

报错1:is   和 is not不能识别,手动替换对应py文件中的 is 为‘==’ is not 替换为 ‘!=’

输入图片说明

明明已经安装了,还是报这个错!因为是非专业的python小白,折腾了很久,最后直接 将anaconda3\Lib\site-packages下对应包复制到PPOCRLabel目录下即可! 后续还报了个lxml模块找不到的错误,也是同样的解决方法!

效果图如下所示:

up-5f058899e5d4d5ce51917b7045ae06de48f.png

下载安装命令

## CPU版本安装命令
pip install -f https://paddlepaddle.org.cn/pip/oschina/cpu paddlepaddle

## GPU版本安装命令
pip install -f https://paddlepaddle.org.cn/pip/oschina/gpu paddlepaddle-gpu

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK