图像标注工具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 ...
随机推荐
- springmvc+spring3+hibernate4框架简单整合,简单实现增删改查功能
转自:https://blog.csdn.net/thinkingcao/article/details/52472252 C 所用到的jar包 数据库表 数据库表就不用教大家了,一张表,很简 ...
- C# WinForm中如何让当前应用程序只允许启动一个实例
我们在WinForm开发中,很多情况下是需要只允许让用户运行一个实例,那么代码其实很简单.只需要修改Program.cs文件,代码如下 static class Program { /// <s ...
- getParameter的用法及含义
equest.getparameter用来获取页面输入框输入的数据例如:jsp页面学员账户:<input type="text" name="username&qu ...
- CheckBoxJS选中与反选得到Value
function XuanZe(val) { datastr = $("#hid_AID").val(); var newstr = ""; ...
- Codeforces 1137C Museums Tour (强连通分量, DP)
题意和思路看这篇博客就行了:https://www.cnblogs.com/cjyyb/p/10507937.html 有个问题需要注意:对于每个scc,只需要考虑进入这个scc的时间即可,其实和从哪 ...
- 基于R语言的RRT算法效率统计
- Inheritance with EF Code First: Part 2 – Table per Type (TPT)
In the previous blog post you saw that there are three different approaches to representing an inher ...
- SDUT 1177 C语言实验——时间间隔
C语言实验——时间间隔 Time Limit: 1000MS Memory Limit: 65536KB Submit Statistic Discuss Problem Description 从键 ...
- SDUT 3361 数据结构实验之图论四:迷宫探索
数据结构实验之图论四:迷宫探索 Time Limit: 1000MS Memory Limit: 65536KB Submit Statistic Problem Description 有一个地下迷 ...
- python 全局搜索路径
在~/.bachrc中添加 export PYTHONPATH=$PATHONPATH:[需要添加的路径]