mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-04 04:27:42 +03:00
Increase minimum face recognition area
This commit is contained in:
parent
65b6d50c76
commit
468778aa8f
@ -78,7 +78,7 @@ class FaceRecognitionConfig(FrigateBaseModel):
|
|||||||
le=1.0,
|
le=1.0,
|
||||||
)
|
)
|
||||||
min_area: int = Field(
|
min_area: int = Field(
|
||||||
default=500, title="Min area of face box to consider running face recognition."
|
default=750, title="Min area of face box to consider running face recognition."
|
||||||
)
|
)
|
||||||
save_attempts: int = Field(
|
save_attempts: int = Field(
|
||||||
default=100, ge=0, title="Number of face attempts to save in the train tab."
|
default=100, ge=0, title="Number of face attempts to save in the train tab."
|
||||||
@ -91,7 +91,7 @@ class FaceRecognitionConfig(FrigateBaseModel):
|
|||||||
class CameraFaceRecognitionConfig(FrigateBaseModel):
|
class CameraFaceRecognitionConfig(FrigateBaseModel):
|
||||||
enabled: bool = Field(default=False, title="Enable face recognition.")
|
enabled: bool = Field(default=False, title="Enable face recognition.")
|
||||||
min_area: int = Field(
|
min_area: int = Field(
|
||||||
default=500, title="Min area of face box to consider running face recognition."
|
default=750, title="Min area of face box to consider running face recognition."
|
||||||
)
|
)
|
||||||
|
|
||||||
model_config = ConfigDict(extra="forbid", protected_namespaces=())
|
model_config = ConfigDict(extra="forbid", protected_namespaces=())
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user