Make detection threhsold configurable (#17136)

This commit is contained in:
Nicolas Mowen
2025-03-13 12:22:14 -05:00
committed by GitHub
parent c93b82d6e1
commit 8d05e7c5b9
2 changed files with 10 additions and 4 deletions
+7 -1
View File
@@ -55,7 +55,13 @@ class FaceRecognitionConfig(FrigateBaseModel):
gt=0.0,
le=1.0,
)
threshold: float = Field(
detection_threshold: float = Field(
default=0.7,
title="Minimum face detection score required to be considered a face.",
gt=0.0,
le=1.0,
)
recognition_threshold: float = Field(
default=0.9,
title="Minimum face distance score required to be considered a match.",
gt=0.0,