You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/docs/configuration/license_plate_recognition.md
+15-5
Original file line number
Diff line number
Diff line change
@@ -19,7 +19,7 @@ When a plate is recognized, the recognized name is:
19
19
20
20
Users running a Frigate+ model (or any custom model that natively detects license plates) should ensure that `license_plate` is added to the [list of objects to track](https://docs.frigate.video/plus/#available-label-types) either globally or for a specific camera. This will improve the accuracy and performance of the LPR model.
21
21
22
-
Users without a model that detects license plates can still run LPR. Frigate uses a lightweight YOLOv9 license plate detection model that runs on your CPU. In this case, you should _not_ define `license_plate` in your list of objects to track.
22
+
Users without a model that detects license plates can still run LPR. Frigate uses a lightweight YOLOv9 license plate detection model that runs on your CPU or GPU. In this case, you should _not_ define `license_plate` in your list of objects to track.
23
23
24
24
:::note
25
25
@@ -29,7 +29,7 @@ In the default mode, Frigate's LPR needs to first detect a `car` before it can r
29
29
30
30
## Minimum System Requirements
31
31
32
-
License plate recognition works by running AI models locally on your system. The models are relatively lightweight and will be auto-selected to run on your CPU or GPU. At least 4GB of RAM is required.
32
+
License plate recognition works by running AI models locally on your system. The models are relatively lightweight and will be auto-selected to run on your CPU. At least 4GB of RAM is required.
33
33
34
34
## Configuration
35
35
@@ -40,11 +40,11 @@ lpr:
40
40
enabled: True
41
41
```
42
42
43
-
Like other enrichments in Frigate, LPR **must be enabled globally** to use the feature. You can disable it for specific cameras at the camera level:
43
+
Like other enrichments in Frigate, LPR **must be enabled globally** to use the feature. You should disable it for specific cameras at the camera level if you don't want to run LPR on cars on those cameras:
44
44
45
45
```yaml
46
46
cameras:
47
-
driveway:
47
+
garage:
48
48
...
49
49
lpr:
50
50
enabled: False
@@ -174,7 +174,7 @@ cameras:
174
174
type: "lpr" # required to use dedicated LPR camera mode
175
175
detect:
176
176
enabled: True
177
-
fps: 5 # increase to 10 if vehicles move quickly across your frame
177
+
fps: 5 # increase to 10 if vehicles move quickly across your frame. Higher than 10 is unnecessary and is not recommended.
178
178
min_initialized: 2
179
179
width: 1920
180
180
height: 1080
@@ -313,6 +313,10 @@ In normal LPR mode, Frigate requires a `car` to be detected first before recogni
313
313
314
314
Yes, but performance depends on camera quality, lighting, and infrared capabilities. Make sure your camera can capture clear images of plates at night.
315
315
316
+
### Can I limit LPR to specific zones?
317
+
318
+
LPR, like other Frigate enrichments, runs at the camera level rather than the zone level. While you can't restrict LPR to specific zones directly, you can control when recognition runs by setting a `min_area` value to filter out smaller detections.
319
+
316
320
### How can I match known plates with minor variations?
317
321
318
322
Use `match_distance` to allow small character mismatches. Alternatively, define multiple variations in `known_plates`.
@@ -336,3 +340,9 @@ Use `match_distance` to allow small character mismatches. Alternatively, define
336
340
### Will LPR slow down my system?
337
341
338
342
LPR's performance impact depends on your hardware. Ensure you have at least 4GB RAM and a capable CPU or GPU for optimal results. If you are running the Dedicated LPR Camera mode, resource usage will be higher compared to users who run a model that natively detects license plates. Tune your motion detection settings for your dedicated LPR camera so that the license plate detection model runs only when necessary.
343
+
344
+
### I am seeing a YOLOv9 plate detection metric in Enrichment Metrics, but I have a Frigate+ or custom model that detects `license_plate`. Why is the YOLOv9 model running?
345
+
346
+
The YOLOv9 license plate detector model will run (and the metric will appear) if you've enabled LPR but haven't defined `license_plate` as an object to track, either at the global or camera level.
347
+
348
+
If you are detecting `car` on cameras where you don't want to run LPR, make sure you disable LPR it at the camera level. And if you do want to run LPR on those cameras, make sure you define `license_plate` as an object to track.
0 commit comments