mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-05-07 05:55:27 +03:00
remove auto
This commit is contained in:
parent
4505986ed5
commit
34c646c308
@ -20,7 +20,6 @@ class SemanticSearchModelEnum(str, Enum):
|
|||||||
|
|
||||||
|
|
||||||
class LPRDeviceEnum(str, Enum):
|
class LPRDeviceEnum(str, Enum):
|
||||||
AUTO = "AUTO"
|
|
||||||
GPU = "GPU"
|
GPU = "GPU"
|
||||||
CPU = "CPU"
|
CPU = "CPU"
|
||||||
|
|
||||||
@ -101,7 +100,7 @@ class CameraFaceRecognitionConfig(FrigateBaseModel):
|
|||||||
class LicensePlateRecognitionConfig(FrigateBaseModel):
|
class LicensePlateRecognitionConfig(FrigateBaseModel):
|
||||||
enabled: bool = Field(default=False, title="Enable license plate recognition.")
|
enabled: bool = Field(default=False, title="Enable license plate recognition.")
|
||||||
device: Optional[LPRDeviceEnum] = Field(
|
device: Optional[LPRDeviceEnum] = Field(
|
||||||
default=LPRDeviceEnum.AUTO,
|
default=LPRDeviceEnum.CPU,
|
||||||
title="The device used for license plate recognition.",
|
title="The device used for license plate recognition.",
|
||||||
)
|
)
|
||||||
detection_threshold: float = Field(
|
detection_threshold: float = Field(
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user