mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-03-21 23:58:22 +03:00
67 lines
2.6 KiB
JSON
67 lines
2.6 KiB
JSON
{
|
|
"label": "License Plate Recognition",
|
|
"description": "License plate recognition settings including detection thresholds, formatting, and known plates.",
|
|
"enabled": {
|
|
"label": "Enable LPR",
|
|
"description": "Enable or disable LPR globally; camera-level settings can override."
|
|
},
|
|
"model_size": {
|
|
"label": "Model size",
|
|
"description": "Model size used for text detection/recognition; small runs on CPU, large on GPU."
|
|
},
|
|
"detection_threshold": {
|
|
"label": "Detection threshold",
|
|
"description": "Detection confidence threshold to begin running OCR on a suspected plate."
|
|
},
|
|
"min_area": {
|
|
"label": "Minimum plate area",
|
|
"description": "Minimum plate area (pixels) required to attempt recognition."
|
|
},
|
|
"recognition_threshold": {
|
|
"label": "Recognition threshold",
|
|
"description": "Confidence threshold required for recognized plate text to be attached as a sub-label."
|
|
},
|
|
"min_plate_length": {
|
|
"label": "Min plate length",
|
|
"description": "Minimum number of characters a recognized plate must contain to be considered valid."
|
|
},
|
|
"format": {
|
|
"label": "Plate format regex",
|
|
"description": "Optional regex to validate recognized plate strings against an expected format."
|
|
},
|
|
"match_distance": {
|
|
"label": "Match distance",
|
|
"description": "Number of character mismatches allowed when comparing detected plates to known plates."
|
|
},
|
|
"known_plates": {
|
|
"label": "Known plates",
|
|
"description": "List of plates or regexes to specially track or alert on."
|
|
},
|
|
"enhancement": {
|
|
"label": "Enhancement level",
|
|
"description": "Enhancement level (0-10) to apply to plate crops prior to OCR; higher values may not always improve results, levels above 5 may only work with night time plates and should be used with caution."
|
|
},
|
|
"debug_save_plates": {
|
|
"label": "Save debug plates",
|
|
"description": "Save plate crop images for debugging LPR performance."
|
|
},
|
|
"device": {
|
|
"label": "Device",
|
|
"description": "This is an override, to target a specific device. See https://onnxruntime.ai/docs/execution-providers/ for more information"
|
|
},
|
|
"replace_rules": {
|
|
"label": "Replacement rules",
|
|
"description": "Regex replacement rules used to normalize detected plate strings before matching.",
|
|
"pattern": {
|
|
"label": "Regex pattern"
|
|
},
|
|
"replacement": {
|
|
"label": "Replacement string"
|
|
}
|
|
},
|
|
"expire_time": {
|
|
"label": "Expire seconds",
|
|
"description": "Time in seconds after which an unseen plate is expired from the tracker (for dedicated LPR cameras only)."
|
|
}
|
|
}
|