fix motion updating (#11083)

This commit is contained in:
Nicolas Mowen 2024-04-23 08:57:29 -06:00 committed by GitHub
parent 647bcb2618
commit 313e7c016c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -413,9 +413,7 @@ def track_camera(
object_filters = config.objects.filters object_filters = config.objects.filters
motion_detector = ImprovedMotionDetector( motion_detector = ImprovedMotionDetector(
frame_shape, frame_shape, config.motion, config.detect.fps, name=config.name
config.motion,
config.detect.fps,
) )
object_detector = RemoteObjectDetector( object_detector = RemoteObjectDetector(
name, labelmap, detection_queue, result_connection, model_config, stop_event name, labelmap, detection_queue, result_connection, model_config, stop_event