|
@@ -448,7 +448,7 @@ class DetectControllerViewV2(View):
|
|
else:
|
|
else:
|
|
equipment_info['uid_type'] = ''
|
|
equipment_info['uid_type'] = ''
|
|
|
|
|
|
- equipment_info['borderCoords'] = '' if border_coords == '' else json.loads(border_coords) # ai消息坐标信息
|
|
|
|
|
|
+ equipment_info['borderCoords'] = '' if border_coords == '' else eval(border_coords) # ai消息坐标信息
|
|
equipment_info['ai_event_type_list'] = []
|
|
equipment_info['ai_event_type_list'] = []
|
|
# 如果是ai消息类型,则分解eventType, 如:123 -> [1,2,3]
|
|
# 如果是ai消息类型,则分解eventType, 如:123 -> [1,2,3]
|
|
if border_coords and event_type in ai_all_event_type:
|
|
if border_coords and event_type in ai_all_event_type:
|