Use labelme to annotate image for machine learning

labelme

Exchange blogroll: http://laker.me/blog
Github:https://github.com/younglaker

Labelme is a graphical image annotation tool. It is written in Python and uses Qt for its graphical interface. It is open source in Github at https://github.com/wkentaro/labelme

Installation

It can be used in both Python 2 and Python 3. Now, let’s use Python 3.

I use Anaconda for machin learning. So in Anaconda :

  1. Install conda

Install conda

If conda is not working in terminal, activate your terminal profile:

1
$ source ~/.zsh_profile

image

  1. Create a new environment

Choose a Python version you want.

1
conda create -n labelme python=3.6

Then we get a new clean environment for labelme:

a new clean environment

  1. Install labelme

Active the environment :

1
activate labelme

If not worked and show zsh: command not found: activate, add source like this:

1
source activate labelme

We will in the labeme environment.

environment

Python will be the version we chosen:

Python

The pip also is the labelme version :

pip

Install labelme:

1
$ pip install labelme

Use labelme

Input:

1
$ labelme

or:

1
$ labelme # Open GUI

labelme


Use labelme to annotate image for machine learning

本文原创自http://laker.me/blog,转载请注明出处,欢迎交换友链

如果本文对您有帮助,微信扫一扫,请我吃个鸡腿吧

adasdadas