NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Fix birdseye memory leak (#8992)
Nicolas Mowen1a27c7db290f
diff --git a/frigate/output/birdseye.py b/frigate/output/birdseye.pyindex 94830d6951..dbaafa3131 100644--- a/frigate/output/birdseye.py+++ b/frigate/output/birdseye.py@@ -668,6 +668,7 @@ class Birdseye:def __init__(self,config: FrigateConfig,+ frame_manager: SharedMemoryFrameManager,camera_metrics: dict[str, CameraMetricsTypes],stop_event: mp.Event,websocket_server,@@ -688,7 +689,6 @@ class Birdseye:self.broadcaster = BroadcastThread("birdseye", self.converter, websocket_server, stop_event)- frame_manager = SharedMemoryFrameManager()self.birdseye_manager = BirdsEyeFrameManager(config, frame_manager, stop_event, camera_metrics)diff --git a/frigate/output/output.py b/frigate/output/output.pyindex 7284dfa0bb..2dd9dd0826 100644--- a/frigate/output/output.py+++ b/frigate/output/output.py@@ -71,7 +71,9 @@ def output_frames(preview_recorders[camera] = PreviewRecorder(cam_config, inter_process_queue)if config.birdseye.enabled:- birdseye = Birdseye(config, camera_metrics, stop_event, websocket_server)+ birdseye = Birdseye(+ config, frame_manager, camera_metrics, stop_event, websocket_server+ )websocket_thread.start()