NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
fix: upload_image parses response body before checking HTTP status (#22475)
ryzendigodc27d4ad1637
diff --git a/frigate/plus.py b/frigate/plus.pyindex 197b6e48d0..2870d2ae5f 100644--- a/frigate/plus.py+++ b/frigate/plus.py@@ -105,9 +105,9 @@ class PlusApi:def upload_image(self, image: ndarray, camera: str) -> str:r = self._get("image/signed_urls")- presigned_urls = r.json()if not r.ok:raise Exception("Unable to get signed urls")+ presigned_urls = r.json()# resize and submit originalfiles = {"file": get_jpg_bytes(image, 1920, 85)}