Skip to content

NVR with realtime local object detection for IP cameras

Face Library: show name on details (#17245)

leccelecceac9e24e2ed5b
diff --git a/web/public/locales/en/views/faceLibrary.json b/web/public/locales/en/views/faceLibrary.json
index 57d78b18a4..fd5f508254 100644
--- a/web/public/locales/en/views/faceLibrary.json
+++ b/web/public/locales/en/views/faceLibrary.json
@@ -3,6 +3,7 @@
"addFace": "Walk through adding a new face to the Face Library."
},
"details": {
+ "person": "Person",
"confidence": "Confidence",
"face": "Face Details",
"faceDesc": "Details for the face and associated object",
diff --git a/web/src/pages/FaceLibrary.tsx b/web/src/pages/FaceLibrary.tsx
index a9b7dc2308..73fd54c7ab 100644
--- a/web/src/pages/FaceLibrary.tsx
+++ b/web/src/pages/FaceLibrary.tsx
@@ -368,6 +368,10 @@ function TrainingGrid({
<DialogTitle>{t("details.face")}</DialogTitle>
<DialogDescription>{t("details.faceDesc")}</DialogDescription>
</DialogHeader>
+ <div className="flex flex-col gap-1.5">
+ <div className="text-sm text-primary/40">{t("details.person")}</div>
+ <div className="text-sm capitalize">{selectedEvent?.name}</div>
+ </div>
<div className="flex flex-col gap-1.5">
<div className="text-sm text-primary/40">
{t("details.confidence")}