Face recognition improvements (#17387)

* Increase frequency of updates when internal face detection is used

* Adjust number of required faces based on detection type

* Adjust min_score config to unknown_score

* Only for person

* Improve typing

* Update face rec docs

* Cleanup ui colors

* Cleanup
This commit is contained in:
Nicolas Mowen authored and GitHub committed 2025-03-26 07:23:01 -06:00
1 parent 395fc33ccc
commit e3d4b84803
8 files changed
+97 -65

No files matched your search

+9 -6
View File
@@ -20,6 +20,14 @@ export interface BirdseyeConfig {
width: number;
}
export interface FaceRecognitionConfig {
enabled: boolean;
model_size: SearchModelSize;
unknown_score: number;
detection_threshold: number;
recognition_threshold: number;
}
export type SearchModel = "jinav1" | "jinav2";
export type SearchModelSize = "small" | "large";
@@ -331,12 +339,7 @@ export interface FrigateConfig {
environment_vars: Record<string, unknown>;
face_recognition: {
enabled: boolean;
model_size: SearchModelSize;
detection_threshold: number;
recognition_threshold: number;
};
face_recognition: FaceRecognitionConfig;
ffmpeg: {
global_args: string[];