diff --git a/frigate/camera/maintainer.py b/frigate/camera/maintainer.py index c6c4384e5..1bf92a6ca 100644 --- a/frigate/camera/maintainer.py +++ b/frigate/camera/maintainer.py @@ -124,6 +124,7 @@ class CameraMaintainer(threading.Thread): return if runtime: + # TODO we have to send a ZMQ message to the object detector with the same out event self.detection_out_events[name] = mp.Event() self.camera_metrics[name] = CameraMetrics() self.ptz_metrics[name] = PTZMetrics(autotracker_enabled=False) diff --git a/frigate/object_detection/base.py b/frigate/object_detection/base.py index c77a720a0..21e52ebf8 100644 --- a/frigate/object_detection/base.py +++ b/frigate/object_detection/base.py @@ -176,6 +176,7 @@ class ObjectDetectProcess: logging.info("Detection process has exited...") def start_or_restart(self): + # TODO have to create a separate ZMQ listener for the MP.Events to be sent here self.detection_start.value = 0.0 if (self.detect_process is not None) and self.detect_process.is_alive(): self.stop()