浏览代码

Create README.md

LaraStuStu 5 年之前
父节点
当前提交
5a04e9c463
共有 1 个文件被更改,包括 25 次插入0 次删除
  1. 25 0
      DataAnnotation/labelme/examples/bbox_detection/README.md

+ 25 - 0
DataAnnotation/labelme/examples/bbox_detection/README.md

@@ -0,0 +1,25 @@
+# Bounding Box Detection Example
+
+
+## Usage
+
+```bash
+labelme data_annotated --labels labels.txt --nodata --autosave
+```
+
+![](.readme/annotation.jpg)
+
+
+## Convert to VOC-format Dataset
+
+```bash
+# It generates:
+#   - data_dataset_voc/JPEGImages
+#   - data_dataset_voc/Annotations
+#   - data_dataset_voc/AnnotationsVisualization
+./labelme2voc.py data_annotated data_dataset_voc --labels labels.txt
+```
+
+<img src="data_dataset_voc/JPEGImages/2011_000003.jpg" width="33%" /> <img src="data_dataset_voc/AnnotationsVisualization/2011_000003.jpg" width="33%" />
+
+<i>Fig1. JPEG image (left), Bounding box annotation visualization (right).</i>