预警图片检测触发修复
This commit is contained in:
@@ -130,7 +130,8 @@ async def detect_image(
|
||||
"detections": result['detections'],
|
||||
"image_base64": img_base64,
|
||||
"stats": result['stats'],
|
||||
"alerts": result.get('alerts', []),
|
||||
"alerts": result.get('alerts', []) or result.get('alert_events', []),
|
||||
"alert_events": result.get('alert_events', []),
|
||||
"behavior_stats": result.get('behavior_stats', {})
|
||||
}
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user