图像标注工具labelImg安装记录
这里仅记载下labelImg的安装过程,因为有坑。
我的安装方式是从源码编译,环境ubuntu16.04,一开始是使用python2安装,从github上下载好源码,然后执行安装命令
sudo apt-get install pyqt4-dev-tools
sudo pip install lxml
make qt4py2
python labelImg.py
make qt4py2的时候,会显示如下
pyrcc4 -py2 -o resources.py resources.qrc
Couldn't open /home/wzy/labelImg-master/icons/next.png
Couldn't open /home/wzy/labelImg-master/icons/zoom-out.png
Couldn't open /home/wzy/labelImg-master/icons/format_voc.png
Couldn't open /home/wzy/labelImg-master/icons/expert2.png
Couldn't open /home/wzy/labelImg-master/icons/copy.png
Couldn't open /home/wzy/labelImg-master/icons/format_yolo.png
Couldn't open /home/wzy/labelImg-master/icons/color_line.png
Couldn't open /home/wzy/labelImg-master/icons/prev.png
Couldn't open /home/wzy/labelImg-master/icons/cancel.png
Couldn't open /home/wzy/labelImg-master/icons/edit.png
Couldn't open /home/wzy/labelImg-master/icons/labels.png
Couldn't open /home/wzy/labelImg-master/icons/color.png
Couldn't open /home/wzy/labelImg-master/icons/close.png
Couldn't open /home/wzy/labelImg-master/icons/quit.png
Couldn't open /home/wzy/labelImg-master/icons/fit-window.png
Couldn't open /home/wzy/labelImg-master/icons/fit-width.png
Couldn't open /home/wzy/labelImg-master/icons/resetall.png
Couldn't open /home/wzy/labelImg-master/icons/eye.png
Couldn't open /home/wzy/labelImg-master/icons/undo.png
Couldn't open /home/wzy/labelImg-master/icons/save-as.png
Couldn't open /home/wzy/labelImg-master/icons/done.png
Couldn't open /home/wzy/labelImg-master/icons/open.png
Couldn't open /home/wzy/labelImg-master/icons/app.png
Couldn't open /home/wzy/labelImg-master/icons/file.png
Couldn't open /home/wzy/labelImg-master/icons/help.png
Couldn't open /home/wzy/labelImg-master/icons/zoom.png
Couldn't open /home/wzy/labelImg-master/icons/save.png
Couldn't open /home/wzy/labelImg-master/icons/zoom-in.png
Couldn't open /home/wzy/labelImg-master/icons/verify.png
Couldn't open /home/wzy/labelImg-master/icons/objects.png
再然后执行labelImg.py会报错
Traceback (most recent call last):
File "labelImg.py", line 29, in <module>
import resources
File "/home/wzy/文档/labelImg-master/resources.py", line 9, in <module>
from PyQt4 import QtCore
ImportError: No module named PyQt4
找不到pyqt4,然额明明安装过。
于是改用python3,OK了,命令如下,与Python2很像。
sudo apt-get install pyqt5-dev-tools
sudo pip3 install lxml
make qt5py3
python3 labelImg.py
软件截图如下

图像标注工具labelImg安装记录的更多相关文章
- 目标检测标注工具labelImg安装及使用
目标检测中,原始图片的标注过程是非常重要的,它的作用是在原始图像中标注目标物体位置并对每张图片生成相应的xml文件表示目标标准框的位置.本文介绍一款使用方便且能够标注多类别并能直接生成xml文件的标注 ...
- 图像标注工具labelImg使用方法
最近在做打标签的工作,为了与大家参考学习,总结了在windows的环境下,基于anaconda的图像标注工具labellmg的一种使用方法! 1 搭建anaconda 以前写过怎么搭建anaconda ...
- win10 标注工具LabelImg 安装使用
安装步骤(默认已经安装了Python3.X ): pip 安装PyQt5 进入cmd(Win键 + R键,输入cmd,enter键入),输入: >>pip install PyQt5 如果 ...
- 开源图像标注工具labelme的安装使用及汉化
一 LabelMe简介 labelme是麻省理工(MIT)的计算机科学和人工智能实验室(CSAIL)研发的图像标注工具,人们可以使用该工具创建定制化标注任务或执行图像标注,项目源代码已经开源. 项目开 ...
- 深度学习图像标注工具VGG Image Annotator (VIA)使用教程
VGG Image Annotator (VIA)是一款开源的图像标注工具,由Visual Geometry Group开发. 可以在线和离线使用,可标注矩形.圆.椭圆.多边形.点和线.标注完成后,可 ...
- 标注工具labelimg和labelme
矩形标注工具:labelimg 多边形标准工具:labelme 前者官网发布了可执行文件,后者只有python源码,如果需要编译windows exe,可以这样: pip install labelm ...
- LabelImg 图像图像标注工具
https://github.com/tzutalin/labelImg windos版本请不要把存放在中文目录下,否则打不开.
- linux如何ARP嗅探 Linux下嗅探工具Dsniff安装记录
先来下载依赖包 和一些必须要用到的工具 我这里用的是 dsniff-2.3 的版本 wget http://www.monkey.org/~dugsong/dsniff/dsniff-2.3.ta ...
- 图片标注工具LabelImg使用教程
1.进入labelImg-master文件夹,在空白处使用 “Shift+鼠标右键” ,选择在此处打开命令窗口,依次输入下面语句即可打开软件. pyrcc4 -o resources.py resou ...
随机推荐
- 问题:不支持Dictionary;结果:在Web Service中傳送Dictionary
在Web Service中傳送Dictionary 有個需求,想在Web Service中傳遞Dictionary<string, string>參數,例如: 排版顯示純文字 [WebMe ...
- 监控和安全运维 1.5 nagios监控客户端-1
3. Nagios安装 - 客户端(192.168.0.12)在客户端机器上 rpm -ivh http://www.aminglinux.com/bbs/data/attachment/forum/ ...
- eclipse自动生成带参数说明方法注释
自动生成方法的注释格式,例如 /*** @param str* @return * @throws ParseException*/ 快捷键是alt+shift+j,将光标放在方法名上,按快捷键.会 ...
- 【转】Sublime Text2中的快捷键一览表(Sublime 键盘快捷键大全 )
Sublime Text 提供了无比强大的快捷键阵容,如果能够在Coding的时候灵活的使用快捷键,将能够使得你的效率倍增,相信在不久的将来,Sublime Text将是你跨平台使用的最佳Coding ...
- android 获取sharedpreference的三种方法的区别
1. public SharedPreferences getPreferences (int mode) 通过Activity对象获取,获取的是本Activity私有的Preference,保存在系 ...
- Android中无标题样式和全屏样式学习
在进行UI设计时,我们经常需要将屏幕设置成无标题栏或者全屏.要实现起来也非常简单,主要有两种方法:配置xml文件和编写代码设置. 1.在xml文件中进行配置 在项目的清单文件AndroidManife ...
- CSS中cursor的pointer 与 hand(转)
CSS中cursor的pointer 与 hand 转载 2015年12月25日 16:18:36 标签: cursorpointer / cursorhand 1781 cursor:hand 与 ...
- 解决ftp无法连接登录linux的办法
1. 首先安装vsftpd 命令:yum -y install vsftpd 之后开启服务:service vsftpd start 2.关闭防火墙 1) 重启后生效 开启: chkconfig ip ...
- HDU 6397(2018多校第8场1001) Character Encoding 容斥
听了杜教的直播后知道了怎么做,有两种方法,一种构造函数(现在太菜了,听不懂,以后再补),一种容斥原理. 知识补充1:若x1,x2,.....xn均大于等于0,则x1+x2+...+xn=k的方案数是C ...
- JAVA and JAVA WEB with TOMCAT and ECLIPSE 学习过程中遇到的字符乱码问题及解决方法汇总(随时补充)
JAVA语言具有跨平台,unicode字符集编码的特点. 但是在开发过程中处理数据时涉及到的字符编码问题零零散散,尤其是处理中文字符时一不留神就可能出现一堆奇奇怪怪的符号,俗称乱码. 对于乱码,究其原 ...