|
@@ -353,6 +353,8 @@ class DetectControllerViewV2(View):
|
|
|
region_name='us-east-1'
|
|
|
)
|
|
|
# vod_time_list = []
|
|
|
+ # ai消息标识所有组合标签
|
|
|
+ ai_all_event_type = EquipmentInfoService.get_all_comb_event_type()
|
|
|
for p in qr:
|
|
|
devUid = p['devUid']
|
|
|
eventTime = p['eventTime']
|
|
@@ -436,8 +438,6 @@ class DetectControllerViewV2(View):
|
|
|
p['uid_type'] = ''
|
|
|
|
|
|
p['borderCoords'] = '' if p['borderCoords'] == '' else json.loads(p['borderCoords']) # ai消息坐标信息
|
|
|
- #ai消息标识标签
|
|
|
- ai_all_event_type = EquipmentInfoService.get_all_comb_event_type()
|
|
|
p['ai_event_type_list'] = []
|
|
|
if p['eventType'] in ai_all_event_type: #如果是ai消息类型,则分解eventType, 如:123 -> [1,2,3]
|
|
|
p['ai_event_type_list'] = list(map(int, str(p['eventType'])))
|