NVR with realtime local object detection for IP cameras
TypeScript aicameragoogle-coralhome-assistanthome-automationhomeautomationmqttnvrobject-detectionrealtimertsptensorflow
Return 500 from the face registration endpoint if Frigate has not yet been restarted (#19601)
Josh Hawkins353ee1228cbd
diff --git a/frigate/api/classification.py b/frigate/api/classification.pyindex e33d81e811..21ee59fb64 100644--- a/frigate/api/classification.py+++ b/frigate/api/classification.py@@ -214,7 +214,7 @@ async def register_face(request: Request, name: str, file: UploadFile):)context: EmbeddingsContext = request.app.embeddings- result = context.register_face(name, await file.read())+ result = None if context is None else context.register_face(name, await file.read())if not isinstance(result, dict):return JSONResponse(