NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
deepstack: pass api key in request (#6579)
Martin Weinelt1e17dbaa91d1
diff --git a/frigate/detectors/plugins/deepstack.py b/frigate/detectors/plugins/deepstack.pyindex 2a9024a49d..639cd396c1 100644--- a/frigate/detectors/plugins/deepstack.py+++ b/frigate/detectors/plugins/deepstack.py@@ -50,7 +50,10 @@ class DeepStack(DetectionApi):image_bytes = output.getvalue()data = {"api_key": self.api_key}response = requests.post(- self.api_url, files={"image": image_bytes}, timeout=self.api_timeout+ self.api_url,+ data=data,+ files={"image": image_bytes},+ timeout=self.api_timeout,)response_json = response.json()detections = np.zeros((20, 6), np.float32)