소스 검색

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 = []