From 928ce39d68997e001f114561d3862ccfc557ce67 Mon Sep 17 00:00:00 2001 From: niten Date: Tue, 10 Jan 2023 15:11:35 -0800 Subject: [PATCH] Eww...json needs 2-char min keys? --- src/objectifier.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/objectifier.py b/src/objectifier.py index a7627d0..f92d3cf 100644 --- a/src/objectifier.py +++ b/src/objectifier.py @@ -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], },