diff --git a/web/public/locales/en/views/settings.json b/web/public/locales/en/views/settings.json index 541fa0ffdc..27cdf82f1f 100644 --- a/web/public/locales/en/views/settings.json +++ b/web/public/locales/en/views/settings.json @@ -1663,12 +1663,12 @@ "fpsGreaterThanFive": "Setting the detect FPS higher than 5 is not recommended. Higher values may cause performance issues and will not provide any benefit." }, "faceRecognition": { - "globalDisabled": "Face recognition is not enabled at the global level. Enable it in Enrichments for camera-level face recognition to function.", - "personNotTracked": "Face recognition requires the 'person' object to be tracked. Ensure 'person' is in the object tracking list." + "globalDisabled": "The face recognition enrichment must be enabled for face recognition features to function on this camera.", + "personNotTracked": "Face recognition requires the 'person' object to be tracked. Enable 'person' in Objects for this camera." }, "lpr": { - "globalDisabled": "License plate recognition is not enabled at the global level. Enable it in Enrichments for camera-level LPR to function.", - "vehicleNotTracked": "License plate recognition requires 'car' or 'motorcycle' to be tracked." + "globalDisabled": "The license plate recognition enrichment must be enabled for LPR features to function on this camera.", + "vehicleNotTracked": "License plate recognition requires 'car' or 'motorcycle' to be tracked. Enable 'car' or 'motorcycle' in Objects for this camera." }, "record": { "noRecordRole": "No streams have the record role defined. Recording will not function." diff --git a/web/src/components/config-form/section-configs/audio_transcription.ts b/web/src/components/config-form/section-configs/audio_transcription.ts index 8e8e70d775..fbc0c1dc0c 100644 --- a/web/src/components/config-form/section-configs/audio_transcription.ts +++ b/web/src/components/config-form/section-configs/audio_transcription.ts @@ -10,7 +10,11 @@ const audioTranscription: SectionConfigOverrides = { severity: "warning", condition: (ctx) => { if (ctx.level === "camera" && ctx.fullCameraConfig) { - return ctx.fullCameraConfig.audio.enabled === false; + return ( + !ctx.fullCameraConfig.ffmpeg?.inputs?.some((input) => + input.roles?.includes("audio"), + ) || ctx.fullCameraConfig.audio.enabled === false + ); } return false; }, diff --git a/web/src/components/config-form/section-configs/face_recognition.ts b/web/src/components/config-form/section-configs/face_recognition.ts index 822f6ffe05..47344930aa 100644 --- a/web/src/components/config-form/section-configs/face_recognition.ts +++ b/web/src/components/config-form/section-configs/face_recognition.ts @@ -53,6 +53,11 @@ const faceRecognition: SectionConfigOverrides = { "device", ], restartRequired: ["enabled", "model_size", "device"], + uiSchema: { + model_size: { + "ui:options": { size: "xs" }, + }, + }, }, }; diff --git a/web/src/components/config-form/section-configs/lpr.ts b/web/src/components/config-form/section-configs/lpr.ts index c56966142a..1237172f0f 100644 --- a/web/src/components/config-form/section-configs/lpr.ts +++ b/web/src/components/config-form/section-configs/lpr.ts @@ -83,6 +83,9 @@ const lpr: SectionConfigOverrides = { suppressDescription: true, }, }, + model_size: { + "ui:options": { size: "xs" }, + }, }, }, };