|
@@ -27,7 +27,7 @@ wget https://raw.githubusercontent.com/wkentaro/labelme/master/scripts/labelme_o
|
|
|
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
|
|
|
+./labelme_on_docker static/apc2016_obj3.jpg -O static/apc2016_obj3.json
|
|
|
```
|
|
|
|
|
|
**Ubuntu**
|
|
@@ -66,8 +66,8 @@ Run `labelme --help` for detail.
|
|
|
|
|
|
```bash
|
|
|
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
|
|
|
+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](http://www.json.org/) file. The
|
|
@@ -78,7 +78,7 @@ file includes the image itself.
|
|
|
To view the json file quickly, you can use utility script:
|
|
|
|
|
|
```bash
|
|
|
-labelme_draw_json _static/apc2016_obj3.json
|
|
|
+labelme_draw_json static/apc2016_obj3.json
|
|
|
```
|
|
|
|
|
|
**Convert to Dataset**
|
|
@@ -87,20 +87,20 @@ To convert the json to set of image and label, you can run following:
|
|
|
|
|
|
|
|
|
```bash
|
|
|
-labelme_json_to_dataset _static/apc2016_obj3.json
|
|
|
+labelme_json_to_dataset static/apc2016_obj3.json
|
|
|
```
|
|
|
|
|
|
|
|
|
Sample
|
|
|
------
|
|
|
|
|
|
-- [Original Image](https://github.com/wkentaro/labelme/blob/master/_static/apc2016_obj3.jpg)
|
|
|
-- [Screenshot](https://github.com/wkentaro/labelme/blob/master/_static/apc2016_obj3_screenshot.jpg)
|
|
|
-- [Generated Json File](https://github.com/wkentaro/labelme/blob/master/_static/apc2016_obj3.json)
|
|
|
-- [Visualized Json File](https://github.com/wkentaro/labelme/blob/master/_static/apc2016_obj3_draw_json.jpg)
|
|
|
+- [Original Image](https://github.com/wkentaro/labelme/blob/master/static/apc2016_obj3.jpg)
|
|
|
+- [Screenshot](https://github.com/wkentaro/labelme/blob/master/static/apc2016_obj3_screenshot.jpg)
|
|
|
+- [Generated Json File](https://github.com/wkentaro/labelme/blob/master/static/apc2016_obj3.json)
|
|
|
+- [Visualized Json File](https://github.com/wkentaro/labelme/blob/master/static/apc2016_obj3_draw_json.jpg)
|
|
|
|
|
|
|
|
|
Screencast
|
|
|
----------
|
|
|
|
|
|
-<img src="https://github.com/wkentaro/labelme/raw/master/_static/screencast.gif" width="70%"/>
|
|
|
+<img src="https://github.com/wkentaro/labelme/raw/master/static/screencast.gif" width="70%"/>
|