这里仅记载下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安装记录的更多相关文章

  1. 目标检测标注工具labelImg安装及使用

    目标检测中,原始图片的标注过程是非常重要的,它的作用是在原始图像中标注目标物体位置并对每张图片生成相应的xml文件表示目标标准框的位置.本文介绍一款使用方便且能够标注多类别并能直接生成xml文件的标注 ...

  2. 图像标注工具labelImg使用方法

    最近在做打标签的工作,为了与大家参考学习,总结了在windows的环境下,基于anaconda的图像标注工具labellmg的一种使用方法! 1 搭建anaconda 以前写过怎么搭建anaconda ...

  3. win10 标注工具LabelImg 安装使用

    安装步骤(默认已经安装了Python3.X ): pip 安装PyQt5 进入cmd(Win键 + R键,输入cmd,enter键入),输入: >>pip install PyQt5 如果 ...

  4. 开源图像标注工具labelme的安装使用及汉化

    一 LabelMe简介 labelme是麻省理工(MIT)的计算机科学和人工智能实验室(CSAIL)研发的图像标注工具,人们可以使用该工具创建定制化标注任务或执行图像标注,项目源代码已经开源. 项目开 ...

  5. 深度学习图像标注工具VGG Image Annotator (VIA)使用教程

    VGG Image Annotator (VIA)是一款开源的图像标注工具,由Visual Geometry Group开发. 可以在线和离线使用,可标注矩形.圆.椭圆.多边形.点和线.标注完成后,可 ...

  6. 标注工具labelimg和labelme

    矩形标注工具:labelimg 多边形标准工具:labelme 前者官网发布了可执行文件,后者只有python源码,如果需要编译windows exe,可以这样: pip install labelm ...

  7. LabelImg 图像图像标注工具

    https://github.com/tzutalin/labelImg windos版本请不要把存放在中文目录下,否则打不开.

  8. linux如何ARP嗅探 Linux下嗅探工具Dsniff安装记录

      先来下载依赖包 和一些必须要用到的工具 我这里用的是 dsniff-2.3 的版本 wget http://www.monkey.org/~dugsong/dsniff/dsniff-2.3.ta ...

  9. 图片标注工具LabelImg使用教程

    1.进入labelImg-master文件夹,在空白处使用 “Shift+鼠标右键” ,选择在此处打开命令窗口,依次输入下面语句即可打开软件. pyrcc4 -o resources.py resou ...

随机推荐

  1. 类型:。net;问题:HQL;结果:HQL: Hibernate查询语言

    HQL: Hibernate查询语言 Hibernate配备了一种非常强大的查询语言,这种语言看上去很像SQL.但是不要被语法结构 上的相似所迷惑,HQL是非常有意识的被设计为完全面向对象的查询,它可 ...

  2. 问题:C#打开一个文本文档往里面写数据,没有就新建文档 ;结果:c#FileStream文件读写(转)

    FileStream对象表示在磁盘或网络路径上指向文件的流.这个类提供了在文件中读写字节的方法,但经常使用StreamReader或 StreamWriter执行这些功能.这是因为FileStream ...

  3. elasticsearch 概念与架构(3)

    转自:https://devops.taobao.com/ Node(节点):单个的装有Elasticsearch服务并且提供故障转移和扩展的服务器. Cluster(集群):一个集群就是由一个或多个 ...

  4. java中字符串的存储

    在java中,不同的字符串赋值方法,其所在的地址可能不同也就导致,两个字符串的值看似相等可是在s1==s2操作时,其结果返回的却是false 例: String s1 = "Programm ...

  5. GCD 学习(三)Main&Global Dispatch Queue

    摘录自:http://zhuyanfeng.com/archives/3066 Main Dispatch Queue是在主线程中执行任务的Dispatch Queue.因为主线程只有1个,所以Mai ...

  6. C/C++中struct/union/class内存对齐

    struct/union/class内存对齐原则有四个: 1).数据成员对齐规则:结构(struct)(或联合(union))的数据成员,第一个数据成员放在offset为0的地方,以后每个数据成员存储 ...

  7. review backpropagation

    The goal of backpropagation is to compute the partial derivatives ∂C/∂w and ∂C/∂b of the cost functi ...

  8. auto和register关键字

    关键字概述 很多朋友看到这儿可能会有疑问,往往其它讲C语言的书籍都是从HelloWorld,数据类型开始C语言学习的,为什么我们要从C语言的关键字开始呢?关于这点,我有两点需要说明: 本章节面向的读者 ...

  9. CodeForces 670D2 Magic Powder - 2 (二分)

    题意:今天我们要来造房子.造这个房子需要n种原料,每造一个房子需要第i种原料ai个.现在你有第i种原料bi个.此外,你还有一种特殊的原料k个, 每个特殊原料可以当作任意一个其它原料使用.那么问题来了, ...

  10. MVC小记备忘

    1,页面用<dl><dt><dd>和Bootstrap的"dl-horizontal"类布局页面,使每一个属性名和属性值占一行 <dl c ...