greenhouse/README.md
2015-11-16 13:40:19 +08:00

37 lines
1.2 KiB
Markdown

# LabelImg
LabelImg is a graphical image annotation tool. The source mainly comes from [labelme](labelme.csail.mit.edu).
It is written in Python and uses Qt for its graphical interface.
The annotation file will be saved as a XML file. The annotation format is PASCAL VOC format, and the format is the same as [ImageNet](http://www.image-net.org/)
![](icons/demo.png)
## Dependencies
Requires at least [Python 2.6](http://www.python.org/getit/) and has been tested with [PyQt
4.8](http://www.riverbankcomputing.co.uk/software/pyqt/intro).
In order to build the resource and assets, you need to install pyqt4-dev-tools:
`$ sudo apt-get install pyqt4-dev-tools`
## Usage
After cloning the code, you should run `make` to generate the resource file.
You can then start annotating by running `./labelImg.py`. For usage
instructions you can see [Here](https://youtu.be/p0nR2YsCY_U)
At the moment annotations are saved as a XML file. The format is PASCAL VOC format, and the format is the same as [ImageNet](http://www.image-net.org/)
You can also see [ImageNet Utils](https://github.com/tzutalin/ImageNet_Utils) to download image, create a label text for machine learning, etc
### Hotkeys
* Ctrl + n : Create a bounding box
* Ctrl + s : Save
* n : Next image