Eww...json needs 2-char min keys?
This commit is contained in:
parent
aaba00be01
commit
928ce39d68
|
@ -76,8 +76,8 @@ def detection_to_dict(d):
|
|||
"label": d.label,
|
||||
"confidence": d.confidence,
|
||||
"box": {
|
||||
"x": d.box[0],
|
||||
"y": d.box[1],
|
||||
"pos_x": d.box[0],
|
||||
"pos_y": d.box[1],
|
||||
"width": d.box[2],
|
||||
"height": d.box[3],
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue