Dedicated LPR improvements (#17453)

* remove license plate from attributes for dedicated lpr cameras

* ensure we always have a color

* use frigate+ models with dedicated lpr cameras

* docs

* docs clarity

* docs enrichments

* use license_plate as object type
This commit is contained in:
Josh Hawkins
2025-03-30 07:43:24 -06:00
committed by GitHub
parent 2c1ded37a1
commit 2920127ada
6 changed files with 183 additions and 59 deletions
+5 -1
View File
@@ -457,7 +457,11 @@ class EmbeddingMaintainer(threading.Thread):
camera_config = self.config.cameras[camera]
if not camera_config.type == CameraTypeEnum.lpr:
if (
camera_config.type != CameraTypeEnum.lpr
or "license_plate" in camera_config.objects.track
):
# we're not a dedicated lpr camera or we are one but we're using frigate+
return
try: