Eww...json needs 2-char min keys?

This commit is contained in:
niten 2023-01-10 15:11:35 -08:00
parent aaba00be01
commit 928ce39d68
1 changed files with 2 additions and 2 deletions

View File

@ -76,8 +76,8 @@ def detection_to_dict(d):
"label": d.label, "label": d.label,
"confidence": d.confidence, "confidence": d.confidence,
"box": { "box": {
"x": d.box[0], "pos_x": d.box[0],
"y": d.box[1], "pos_y": d.box[1],
"width": d.box[2], "width": d.box[2],
"height": d.box[3], "height": d.box[3],
}, },