NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Fix false positives (#6544)
Nicolas Mowen4940826011ee
diff --git a/frigate/http.py b/frigate/http.pyindex df65d77972..de9fd033c3 100644--- a/frigate/http.py+++ b/frigate/http.py@@ -295,7 +295,7 @@ def false_positive(id):return make_response(jsonify({"success": False, "message": message}), 404)# events from before the conversion to relative dimensions cant include annotations- if any(d > 1 for d in event.box):+ if event.data.get("box") is None:message = f"Events prior to 0.13 cannot be submitted as false positives"logger.error(message)return make_response(jsonify({"success": False, "message": message}), 400)