|
@@ -35,6 +35,8 @@ $ pip install labelme
|
|
Usage
|
|
Usage
|
|
-----
|
|
-----
|
|
|
|
|
|
|
|
+**Annotation**
|
|
|
|
+
|
|
```bash
|
|
```bash
|
|
$ labelme # Open GUI
|
|
$ labelme # Open GUI
|
|
```
|
|
```
|
|
@@ -42,23 +44,34 @@ $ labelme # Open GUI
|
|
The annotations are saved as a [JSON](http://www.json.org/) file. The
|
|
The annotations are saved as a [JSON](http://www.json.org/) file. The
|
|
file includes the image itself.
|
|
file includes the image itself.
|
|
|
|
|
|
|
|
+**Visualization**
|
|
|
|
+
|
|
To view the json file quickly, you can use utility script:
|
|
To view the json file quickly, you can use utility script:
|
|
|
|
|
|
```bash
|
|
```bash
|
|
-$ labelme_draw_json _media/IMG_6319.json
|
|
|
|
|
|
+$ labelme_draw_json _static/IMG_6319.json
|
|
|
|
+```
|
|
|
|
+
|
|
|
|
+**Convert to Dataset**
|
|
|
|
+
|
|
|
|
+To convert the json to set of image and label, you can run following:
|
|
|
|
+
|
|
|
|
+
|
|
|
|
+```bash
|
|
|
|
+$ labelme_json_to_dataset _static/IMG_6319.json
|
|
```
|
|
```
|
|
|
|
|
|
|
|
|
|
Sample
|
|
Sample
|
|
------
|
|
------
|
|
|
|
|
|
-- [Original Image](https://github.com/wkentaro/labelme/blob/master/_media/IMG_6319.jpg)
|
|
|
|
-- [Screenshot](https://github.com/wkentaro/labelme/blob/master/_media/IMG_6319_screenshot.png)
|
|
|
|
-- [Generated Json File](https://github.com/wkentaro/labelme/blob/master/_media/IMG_6319.json)
|
|
|
|
-- [Visualized Json File](https://github.com/wkentaro/labelme/blob/master/_media/IMG_6319_draw_json.png)
|
|
|
|
|
|
+- [Original Image](https://github.com/wkentaro/labelme/blob/master/_static/IMG_6319.jpg)
|
|
|
|
+- [Screenshot](https://github.com/wkentaro/labelme/blob/master/_static/IMG_6319_screenshot.png)
|
|
|
|
+- [Generated Json File](https://github.com/wkentaro/labelme/blob/master/_static/IMG_6319.json)
|
|
|
|
+- [Visualized Json File](https://github.com/wkentaro/labelme/blob/master/_static/IMG_6319_draw_json.png)
|
|
|
|
|
|
|
|
|
|
Screencast
|
|
Screencast
|
|
----------
|
|
----------
|
|
|
|
|
|
-<img src="https://github.com/wkentaro/labelme/raw/master/_media/screencast.gif" width="70%"/>
|
|
|
|
|
|
+<img src="https://github.com/wkentaro/labelme/raw/master/_static/screencast.gif" width="70%"/>
|