火灾检测模型由基于YOLOv10的火灾烟雾检测模型改为复合模型[基于YOLOv8的火灾检测模型(单火焰检测)+YOLOv10-M,专用火灾烟雾模型]

This commit is contained in:
2026-06-10 14:18:43 +08:00
parent 30ea6eb0fb
commit 0e011dacfd
6 changed files with 206 additions and 21 deletions

View File

@@ -235,13 +235,15 @@ class CameraService:
confidence = config.get('confidence', 0.5)
iou = config.get('iou', 0.45)
draw = True
composite = config.get('composite', False)
processed_frame, result = await detection_service.detect_frame(
frame,
model_id=model_id,
confidence=confidence,
iou=iou,
draw=draw
draw=draw,
composite=composite
)
if result['success']: