瀏覽代碼

ai消息存表坐标json字符串格式

zhangdongming 1 年之前
父節點
當前提交
0aaaf66c4e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Controller/AiController.py

+ 1 - 1
Controller/AiController.py

@@ -206,7 +206,7 @@ class AiView(View):
                 'event_time': n_time,
                 'add_time': now_time,
                 'alarm': label_str,
-                'border_coords': new_bounding_box_dict
+                'border_coords': json.dumps(new_bounding_box_dict)
             }
 
             eq_list = []