Skip to content
Keypoints label tools
Python
Branch: master
Clone or download
Latest commit 0604cc5 Jul 17, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.readme Initial commit Feb 28, 2018
docker Initial commit Feb 28, 2018
labelme change hotkey Mar 1, 2018
scripts Initial commit Feb 28, 2018
tests Initial commit Feb 28, 2018
tutorial Initial commit Feb 28, 2018
.gitattributes Initial commit Feb 28, 2018
.gitignore Initial commit Feb 28, 2018
.travis.yml Initial commit Feb 28, 2018
LICENSE Initial commit Feb 28, 2018
MANIFEST.in Initial commit Feb 28, 2018
README.md ===> Update README.md Jul 17, 2018
setup.cfg Initial commit Feb 28, 2018
setup.py Initial commit Feb 28, 2018
使用教程.pdf Initial commit Feb 28, 2018

README.md

labelme: Image Annotation Tool with Python

PyPI Version Travis Build Status Docker Build Status

Requirements

Installation

Anaconda

You need install Anaconda, then run below:

For linux and Mac

# python2
cd $root_dir_of_labelme
conda create --name=labelme python=2.7
source activate labelme
conda install pyqt
pip install labelme

For windows

# python2
cd $root_dir_of_labelme
conda create --name=labelme python=2.7
activate labelme
conda install pyqt
pip install labelme

Usage

准备

下载coco_anno文件夹,把文件夹路径复制到labelKeypoint/labelme/app.py的第100行。比如,我的路径是/mnt/c/Users/ljf_l/Desktop/coco_anno,则修改如下

self.datadir = '/mnt/c/Users/ljf_l/Desktop/coco_anno'

Install

# Install
$ pip uninstall labelme
$ python setup.py install

运行

# Run
$ labelme  # Open GUI

标注

打开软件之后,选择右侧的open,开始标记

标注的主界面如下

左上方第一个数字表示当前标注的图片序号,person:表示当前标记的人的序号,progress:表示当前图片已经标记好的人的数量。

点击鼠标左键即可开始标记。

选择Head表示标注头部,Neck标注脖子。对于没办法预测的部位,可以不标注。如果头和脖子都没有,请在框内任意点击一个位置,选择Empty,表示当前人的头和脖子均难以预测,无法标记。

如果对一个人的相同部位重复标记,会弹出提示窗口,关闭即可。

选择next personprev person可以切换到不同的人进行标记。

如果标记错误,可选择Edit后,在右侧选择相应的部位,进行删除

然后点击Create重新进入标注状态

当所有人都标记完后,选择next标注下一张图。此时程序会自动保存已经标记好的图片。

中途如果程序关闭,进度会自动保存,下次点击open会从直接上次未标注完成的图片出打开,继续标注。

标注例子

Acknowledgement

This repo is the fork of mpitid/pylabelme, whose development has already stopped.

You can’t perform that action at this time.