Skip to content

NVR with realtime local object detection for IP cameras

fix motion updating (#11083)

Nicolas Mowen313e7c016c9a
diff --git a/frigate/video.py b/frigate/video.py
index 5d3eeeae3d..ce01b8dfac 100755
--- a/frigate/video.py
+++ b/frigate/video.py
@@ -413,9 +413,7 @@ def track_camera(
object_filters = config.objects.filters
motion_detector = ImprovedMotionDetector(
- frame_shape,
- config.motion,
- config.detect.fps,
+ frame_shape, config.motion, config.detect.fps, name=config.name
)
object_detector = RemoteObjectDetector(
name, labelmap, detection_queue, result_connection, model_config, stop_event