From 74837314afebcbf02d8dc1cf21d4c2e58cdc3070 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Wed, 19 Mar 2025 08:10:17 -0600 Subject: [PATCH] Adjust api signature --- frigate/api/classification.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/api/classification.py b/frigate/api/classification.py index 6d2da59d9..77e0c9484 100644 --- a/frigate/api/classification.py +++ b/frigate/api/classification.py @@ -198,7 +198,7 @@ async def register_face(request: Request, name: str, file: UploadFile): ) -@router.post("/faces/{name}/register", dependencies=[Depends(require_role(["admin"]))]) +@router.post("/faces/recognize") async def recognize_face(request: Request, name: str, file: UploadFile): if not request.app.frigate_config.face_recognition.enabled: return JSONResponse(