火灾检测模型由基于YOLOv10的火灾烟雾检测模型改为复合模型[基于YOLOv8的火灾检测模型(单火焰检测)+YOLOv10-M,专用火灾烟雾模型]
This commit is contained in:
@@ -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']:
|
||||
|
||||
Reference in New Issue
Block a user