Skip to content

Commit

Permalink
Update examples/video_annotation
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Jan 26, 2020
1 parent 83dfab0 commit 5fe0f6f
Show file tree
Hide file tree
Showing 20 changed files with 244 additions and 214 deletions.
142 changes: 74 additions & 68 deletions examples/video_annotation/data_annotated/00000100.json
Original file line number Diff line number Diff line change
@@ -1,136 +1,137 @@
{
"version": "4.0.0",
"flags": {},
"shapes": [
{
"label": "track",
"line_color": null,
"fill_color": null,
"points": [
[
634,
204
634.0,
203.25925925925924
],
[
604,
275
604.0,
274.25925925925924
],
[
603,
340
603.0,
339.25925925925924
],
[
622,
363
622.0,
362.25925925925924
],
[
639,
363
639.0,
362.25925925925924
],
[
649,
354
649.0,
353.25925925925924
],
[
682,
383
682.0,
382.25925925925924
],
[
733,
390
733.0,
389.25925925925924
],
[
748,
364
748.0,
363.25925925925924
],
[
827,
359
827.0,
358.25925925925924
],
[
829,
250
829.0,
249.25925925925924
],
[
800,
194
800.0,
193.25925925925924
],
[
775,
185
775.0,
184.25925925925924
],
[
740,
199
740.0,
198.25925925925924
]
]
],
"group_id": null,
"shape_type": "polygon",
"flags": {}
},
{
"label": "track",
"line_color": null,
"fill_color": null,
"points": [
[
860,
190
860.0,
190.0
],
[
997,
186
997.0,
186.0
],
[
998,
305
998.0,
305.0
],
[
924,
320
924.0,
320.0
],
[
905,
352
905.0,
352.0
],
[
877,
353
877.0,
353.0
],
[
869,
245
869.0,
245.0
],
[
879,
222
879.0,
222.0
]
]
],
"group_id": null,
"shape_type": "polygon",
"flags": {}
},
{
"label": "car",
"line_color": null,
"fill_color": null,
"points": [
[
924,
321
924.0,
321.0
],
[
905,
352
905.0,
352.0
],
[
909,
388
909.0,
388.0
],
[
936,
404
936.0,
404.0
],
[
959,
411
959.0,
411.0
],
[
966,
431
966.0,
431.0
],
[
1000.0,
Expand All @@ -140,9 +141,16 @@
1000.0,
306.0
]
]
],
"group_id": null,
"shape_type": "polygon",
"flags": {}
}
],
"imagePath": "00000100.jpg",
"imageData": null,
"imageHeight": 563,
"imageWidth": 1000,
"lineColor": [
0,
255,
Expand All @@ -154,7 +162,5 @@
0,
0,
128
],
"imagePath": "00000100.jpg",
"imageData": null
]
}
86 changes: 46 additions & 40 deletions examples/video_annotation/data_annotated/00000101.json
Original file line number Diff line number Diff line change
@@ -1,73 +1,73 @@
{
"version": "4.0.0",
"flags": {},
"shapes": [
{
"label": "track",
"line_color": null,
"fill_color": null,
"points": [
[
614.0,
204.0
614.7407407407408,
203.2592592592593
],
[
584.0,
275.0
584.7407407407408,
274.2592592592593
],
[
583.0,
340.0
583.7407407407408,
339.2592592592593
],
[
602.0,
363.0
602.7407407407408,
362.2592592592593
],
[
619.0,
363.0
619.7407407407408,
362.2592592592593
],
[
629.0,
354.0
629.7407407407408,
353.2592592592593
],
[
662.0,
383.0
662.7407407407408,
382.2592592592593
],
[
713.0,
390.0
713.7407407407408,
389.2592592592593
],
[
728.0,
364.0
728.7407407407408,
363.2592592592593
],
[
827.0,
358.0
827.7407407407408,
357.2592592592593
],
[
825.0,
249.0
825.7407407407408,
248.2592592592593
],
[
801.0,
200.0
801.7407407407408,
199.2592592592593
],
[
757.0,
194.0
757.7407407407408,
193.2592592592593
],
[
720.0,
199.0
720.7407407407408,
198.2592592592593
]
]
],
"group_id": null,
"shape_type": "polygon",
"flags": {}
},
{
"label": "track",
"line_color": null,
"fill_color": null,
"points": [
[
860.0,
Expand Down Expand Up @@ -101,12 +101,13 @@
879.0,
222.0
]
]
],
"group_id": null,
"shape_type": "polygon",
"flags": {}
},
{
"label": "car",
"line_color": null,
"fill_color": null,
"points": [
[
924.0,
Expand Down Expand Up @@ -140,9 +141,16 @@
1000.0,
306.0
]
]
],
"group_id": null,
"shape_type": "polygon",
"flags": {}
}
],
"imagePath": "00000101.jpg",
"imageData": null,
"imageHeight": 563,
"imageWidth": 1000,
"lineColor": [
0,
255,
Expand All @@ -154,7 +162,5 @@
0,
0,
128
],
"imagePath": "00000101.jpg",
"imageData": null
]
}
Loading

0 comments on commit 5fe0f6f

Please sign in to comment.