mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-01 11:07:41 +03:00
Add some TODOs
This commit is contained in:
parent
427fe05bac
commit
06f5edf296
@ -124,6 +124,7 @@ class CameraMaintainer(threading.Thread):
|
|||||||
return
|
return
|
||||||
|
|
||||||
if runtime:
|
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.detection_out_events[name] = mp.Event()
|
||||||
self.camera_metrics[name] = CameraMetrics()
|
self.camera_metrics[name] = CameraMetrics()
|
||||||
self.ptz_metrics[name] = PTZMetrics(autotracker_enabled=False)
|
self.ptz_metrics[name] = PTZMetrics(autotracker_enabled=False)
|
||||||
|
|||||||
@ -176,6 +176,7 @@ class ObjectDetectProcess:
|
|||||||
logging.info("Detection process has exited...")
|
logging.info("Detection process has exited...")
|
||||||
|
|
||||||
def start_or_restart(self):
|
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
|
self.detection_start.value = 0.0
|
||||||
if (self.detect_process is not None) and self.detect_process.is_alive():
|
if (self.detect_process is not None) and self.detect_process.is_alive():
|
||||||
self.stop()
|
self.stop()
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user