mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-08-03 09:38:15 +03:00
LPR improvements (#16559)
* use a small yolov9 model for detection * use yolov9 for users without frigate+ and update retention algorithm * new lpr config fields * levenshtein distance package * tweaks * docs
This commit is contained in:
@@ -66,8 +66,16 @@ class LicensePlateRecognitionConfig(FrigateBaseModel):
|
||||
title="License plate confidence score required to be added to the object as a sub label.",
|
||||
)
|
||||
min_area: int = Field(
|
||||
default=500,
|
||||
title="Min area of license plate to consider running license plate recognition.",
|
||||
default=1000,
|
||||
title="Minimum area of license plate to consider running license plate recognition.",
|
||||
)
|
||||
min_plate_length: int = Field(
|
||||
default=4,
|
||||
title="Minimum number of characters a license plate must have to be added to the object as a sub label.",
|
||||
)
|
||||
match_distance: int = Field(
|
||||
default=1,
|
||||
title="Allow this number of missing/incorrect characters to still cause a detected plate to match a known plate.",
|
||||
)
|
||||
known_plates: Optional[Dict[str, List[str]]] = Field(
|
||||
default={}, title="Known plates to track."
|
||||
|
||||
Reference in New Issue
Block a user