Fără Descriere

Kentaro Wada 2ce87de9e2 Fix backend 7 ani în urmă
docker 798e9b9cab Update dockerfile 8 ani în urmă
labelme ec9e2f4aee Fix PyQt4.QtWidgets 7 ani în urmă
scripts 056df0794e Support linux on labelme_on_docker 8 ani în urmă
static 430e7f916b Make repo light 8 ani în urmă
tests b00506f760 _static -> static 7 ani în urmă
.gitignore 9ba752183c Prepare source to release pypi 9 ani în urmă
.travis.yml 2ce87de9e2 Fix backend 7 ani în urmă
LICENSE e0f2d45054 Rename COPYING -> LICENSE 9 ani în urmă
MANIFEST.in 9962d0adbf rst to md 9 ani în urmă
README.md 594999c5f4 Add docker building badge 7 ani în urmă
setup.py d8cf749f21 Use sum 7 ani în urmă

README.md

labelme: Image Annotation Tool with Python

Build Status Docker Build Status

Labelme is a graphical image annotation tool inspired by http://labelme.csail.mit.edu.

It is written in Python and uses Qt for its graphical interface.

Dependencies

Installation

Docker

You need install docker, then just run below:

wget https://raw.githubusercontent.com/wkentaro/labelme/master/scripts/labelme_on_docker
chmod u+x labelme_on_docker

# Maybe you need http://sourabhbajaj.com/blog/2017/02/07/gui-applications-docker-mac/ on macOS
./labelme_on_docker static/apc2016_obj3.jpg -O static/apc2016_obj3.json

Ubuntu

sudo apt-get install python-qt4 pyqt4-dev-tools
sudo pip install labelme

macOS (older than Sierra)

brew install qt qt4
pip install labelme

macOS Sierra

brew install pyqt
pip install labelme

Usage

Annotation

Run labelme --help for detail.

labelme  # Open GUI
labelme static/apc2016_obj3.jpg  # Specify file
labelme static/apc2016_obj3.jpg -O static/apc2016_obj3.json  # Close window after the save

The annotations are saved as a JSON file. The file includes the image itself.

Visualization

To view the json file quickly, you can use utility script:

labelme_draw_json static/apc2016_obj3.json

Convert to Dataset

To convert the json to set of image and label, you can run following:

labelme_json_to_dataset static/apc2016_obj3.json

Sample

Screencast