Add some TODOs

This commit is contained in:
Nicolas Mowen 2025-06-10 17:04:34 -06:00
parent 427fe05bac
commit 06f5edf296
2 changed files with 2 additions and 0 deletions

View File

@ -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)

View File

@ -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()