Skip to content

Commit

Permalink
Update bbox_detection example with shape_type='rectangle'
Browse files Browse the repository at this point in the history
  • Loading branch information
wkentaro committed Nov 2, 2018
1 parent bf38f51 commit 9fd326d
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 109 deletions.
30 changes: 8 additions & 22 deletions examples/bbox_detection/data_annotated/2011_000003.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,31 @@
"fill_color": null,
"points": [
[
188,
108
],
[
313,
191,
107
],
[
313,
329
],
[
191,
329
]
]
],
"shape_type": "rectangle"
},
{
"label": "person",
"line_color": null,
"fill_color": null,
"points": [
[
499,
85
],
[
365,
85
],
[
365,
335
83
],
[
499,
335
500,
333
]
]
],
"shape_type": "rectangle"
}
],
"lineColor": [
Expand Down
76 changes: 24 additions & 52 deletions examples/bbox_detection/data_annotated/2011_000006.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,91 +7,63 @@
"fill_color": null,
"points": [
[
400,
82
91,
107
],
[
447,
82
],
[
447,
117
],
[
400,
117
240,
330
]
]
],
"shape_type": "rectangle"
},
{
"label": "person",
"line_color": null,
"fill_color": null,
"points": [
[
95,
103
],
[
238,
103
],
[
238,
330
178,
110
],
[
95,
330
298,
282
]
]
],
"shape_type": "rectangle"
},
{
"label": "person",
"line_color": null,
"fill_color": null,
"points": [
[
301,
111
],
[
174,
111
],
[
174,
281
254,
115
],
[
301,
281
369,
292
]
]
],
"shape_type": "rectangle"
},
{
"label": "person",
"line_color": null,
"fill_color": null,
"points": [
[
254,
290
],
[
370,
290
395,
81
],
[
370,
115
],
[
254,
115
447,
117
]
]
],
"shape_type": "rectangle"
}
],
"lineColor": [
Expand Down
49 changes: 14 additions & 35 deletions examples/bbox_detection/data_annotated/2011_000025.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,68 +7,47 @@
"fill_color": null,
"points": [
[
85,
24
84,
20
],
[
435,
26
],
[
438,
373
],
[
88,
374
]
]
],
"shape_type": "rectangle"
},
{
"label": "bus",
"line_color": null,
"fill_color": null,
"points": [
[
0,
100
],
[
107,
101
1,
99
],
[
107,
290
],
[
0,
291
282
]
]
],
"shape_type": "rectangle"
},
{
"label": "car",
"line_color": null,
"fill_color": null,
"points": [
[
407,
168
409,
167
],
[
500,
168
],
[
500,
268
],
[
407,
268
266
]
]
],
"shape_type": "rectangle"
}
],
"lineColor": [
Expand Down

0 comments on commit 9fd326d

Please sign in to comment.