mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-26 19:06:11 +01:00
Set bounds
This commit is contained in:
parent
2b7c40494e
commit
503244fdd7
@ -24,7 +24,10 @@ class SemanticSearchConfig(FrigateBaseModel):
|
||||
class FaceRecognitionConfig(FrigateBaseModel):
|
||||
enabled: bool = Field(default=False, title="Enable face recognition.")
|
||||
threshold: float = Field(
|
||||
default=170, title="minimum face distance score required to be considered a match."
|
||||
default=170,
|
||||
title="minimum face distance score required to be considered a match.",
|
||||
gt=0.0,
|
||||
le=1.0,
|
||||
)
|
||||
min_area: int = Field(
|
||||
default=500, title="Min area of face box to consider running face recognition."
|
||||
|
Loading…
Reference in New Issue
Block a user