From 15729e0f1948c5158b881ba638747164b83090af Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Tue, 9 Sep 2025 16:53:36 -0600 Subject: [PATCH] Provide model type in header for ZMQ detector (#20000) * Provide model type in header * Formatting --- frigate/detectors/plugins/zmq_ipc.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frigate/detectors/plugins/zmq_ipc.py b/frigate/detectors/plugins/zmq_ipc.py index 112176c1a..aa7113c72 100644 --- a/frigate/detectors/plugins/zmq_ipc.py +++ b/frigate/detectors/plugins/zmq_ipc.py @@ -82,6 +82,7 @@ class ZmqIpcDetector(DetectionApi): header: dict[str, Any] = { "shape": list(tensor_input.shape), "dtype": str(tensor_input.dtype.name), + "model_type": str(self.detector_config.model.model_type.name), } return json.dumps(header).encode("utf-8")