Ver código fonte

Update examples/classification

Kentaro Wada 5 anos atrás
pai
commit
dd4c3c5cdf

+ 4 - 13
examples/classification/data_annotated/0001.json

@@ -1,22 +1,13 @@
 {
+  "version": "4.0.0",
   "flags": {
     "__ignore__": false,
     "cat": true,
     "dog": false
   },
   "shapes": [],
-  "lineColor": [
-    0,
-    255,
-    0,
-    128
-  ],
-  "fillColor": [
-    255,
-    0,
-    0,
-    128
-  ],
   "imagePath": "0001.jpg",
-  "imageData": null
+  "imageData": null,
+  "imageHeight": 480,
+  "imageWidth": 640
 }

+ 6 - 3
examples/classification/data_annotated/0002.json

@@ -1,10 +1,15 @@
 {
+  "version": "4.0.0",
   "flags": {
     "__ignore__": false,
     "cat": false,
     "dog": true
   },
   "shapes": [],
+  "imagePath": "0002.jpg",
+  "imageData": null,
+  "imageHeight": 480,
+  "imageWidth": 640,
   "lineColor": [
     0,
     255,
@@ -16,7 +21,5 @@
     0,
     0,
     128
-  ],
-  "imagePath": "0002.jpg",
-  "imageData": null
+  ]
 }