LPR tweaks (#17783)

* clarify docs

* improve debugging messages

* don't run any lpr postprocessing

* wording
This commit is contained in:
Josh Hawkins
2025-04-18 07:45:37 -06:00
committed by GitHub
parent 19aaa64fe9
commit 14a32a6472
5 changed files with 37 additions and 14 deletions
+5 -1
View File
@@ -513,10 +513,14 @@ class FrigateConfig(FrigateBaseModel):
)
# Warn if detect fps > 10
if camera_config.detect.fps > 10:
if camera_config.detect.fps > 10 and camera_config.type != "lpr":
logger.warning(
f"{camera_config.name} detect fps is set to {camera_config.detect.fps}. This does NOT need to match your camera's frame rate. High values could lead to reduced performance. Recommended value is 5."
)
if camera_config.detect.fps > 15 and camera_config.type == "lpr":
logger.warning(
f"{camera_config.name} detect fps is set to {camera_config.detect.fps}. This does NOT need to match your camera's frame rate. High values could lead to reduced performance. Recommended value for LPR cameras are between 5-15."
)
# Default min_initialized configuration
min_initialized = int(camera_config.detect.fps / 2)