美文网首页
【Tensorflow】Object Detection API

【Tensorflow】Object Detection API

作者: 下里巴人也 | 来源:发表于2018-01-02 10:49 被阅读374次

操作系统:centos 7.4
conda:4.4.2

LabelImg介绍

图片标注主要是用来创建自己的数据集,方便进行深度学习训练。这款工具是全图形界面,用Python和Qt写的,最牛的是其标注信息可以直接转化成为XML文件,与PASCAL VOC以及ImageNet用的XML是一样的。

LabelImg安装使用

  • 依赖
    pyqt4 (python3 需要pyqt5)
    由于我这边conda预装的pyqt5. 所以先卸载pyqt5,再安装pyqt4:
    [root@localhost tensorflow]# conda remove pyqt
    [root@localhost tensorflow]# conda install pyqt=4.11
    
  • 下载源码
    [root@localhost tensorflow]# git clone https://github.com/tzutalin/labelImg.git
    
  • 使用
    [root@localhost labelImg] pyrcc4 -o resources.py resources.qrc
    [root@localhost labelImg] python labelImg.py 
    
  • 快捷键

相关文章

网友评论

      本文标题:【Tensorflow】Object Detection API

      本文链接:https://www.haomeiwen.com/subject/yngygxtx.html