[Config Support]: LPR on Unifi G5 Pro #22082
Replies: 4 comments 1 reply
-
|
Based on your configuration and the issue description, there are several potential problems preventing LPR from working: Key Configuration Issues1. Missing Since you're using a Coral EdgeTPU (not a Frigate+ model that natively detects license plates), Frigate uses its built-in YOLOv9 license plate detection model. However, your global objects:
track:
- person
- bicycle
- car
- cat
- dogFor non-Frigate+ models, you should not add 2. LPR requires car/motorcycle detection first In the default mode (which you're using), Frigate's LPR needs to first detect a 3. Detection stream resolution concerns Your cameras are using different detect stream resolutions:
While these resolutions should work, the Recommended Configuration ChangesTry adjusting your LPR configuration: lpr:
enabled: true
device: GPU
model_size: large
detection_threshold: 0.5 # Lower from 0.7 default
min_area: 500 # Consider lowering to 300-400
recognition_threshold: 0.5 # Much lower than default 0.9
min_plate_length: 3
enhancement: 2
match_distance: 3
debug_save_plates: trueThe main concerns are:
Debugging Steps
The fact that your debug directory is empty suggests that either:
Start by confirming cars are being actively tracked (not stationary) in the zones where you expect to see plates. 📚 Sources: Have another question? Just tag @inkeep. |
Beta Was this translation helpful? Give feedback.
-
|
The AI's recommendations are good. You should follow the steps in the official documentation for debugging LPR issues: https://docs.frigate.video/configuration/license_plate_recognition/#how-do-i-debug-lpr-issues |
Beta Was this translation helpful? Give feedback.
-
|
I'll also add that your camera angle is not ideal - if your screenshot is an indication of what you normally see for detected objects, note that the default free object detection model from Google that ships with Frigate is based on the COCO dataset, which is not trained on many images from security cameras - especially from the angle in your screenshots. If a Alternatives would be to use a more accurate free model, change your camera angle, or use a paid solution like Frigate+ to fine-tune a model that more accurately detects cars from your camera's angle. |
Beta Was this translation helpful? Give feedback.
-
|
Great, thankis. Really love the AI's help here. I don't think car detection really is the problem. I tweaked the settings a bit to increase my chances with LPR, but it detects the car 90% of the time. Meanwhile I changed:
Regards |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Describe the problem you are having
License Plate Recognition (LPR) is not triggering. The debug/plates directory remains empty, and no license plates are being processed, even though plates are clearly visible in the camera feeds.
Version
0.16.4-4131252
Frigate config file
Relevant Frigate log output
Relevant go2rtc log output
Frigate stats
{"cameras":{"Dressing":{"camera_fps":5.1,"process_fps":5.1,"skipped_fps":0.0,"detection_fps":0.0,"detection_enabled":true,"pid":473,"capture_pid":524,"ffmpeg_pid":530,"audio_rms":0.0,"audio_dBFS":0.0},"Kinderkamer":{"camera_fps":5.1,"process_fps":5.1,"skipped_fps":0.0,"detection_fps":0.0,"detection_enabled":true,"pid":482,"capture_pid":535,"ffmpeg_pid":552,"audio_rms":0.0,"audio_dBFS":0.0},"Voorgevel":{"camera_fps":5.1,"process_fps":5.1,"skipped_fps":0.0,"detection_fps":1.7,"detection_enabled":true,"pid":493,"capture_pid":546,"ffmpeg_pid":1621,"audio_rms":0.0,"audio_dBFS":0.0},"Zijgevel":{"camera_fps":5.1,"process_fps":5.1,"skipped_fps":0.0,"detection_fps":2.1,"detection_enabled":true,"pid":504,"capture_pid":597,"ffmpeg_pid":606,"audio_rms":0.0,"audio_dBFS":0.0}},"detectors":{"coral":{"inference_speed":9.01,"detection_start":0.0,"pid":403}},"detection_fps":3.8,"embeddings":{"face_recognition_speed":0.0,"face_recognition":0.0,"plate_recognition_speed":57.45,"plate_recognition":0.0},"gpu_usages":{"intel-qsv":{"gpu":"1.45%","mem":"-%","clients":{"606":"0.04%","1621":"0.02%","406":"0.0%","530":"0.0%","552":"0.0%"}}},"cpu_usages":{"frigate.full_system":{"cpu":"19.4","mem":"70.0"},"1":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6/command/s6-svscan -d4 -- /run/service"},"17":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise s6-linux-init-shutdownd"},"18":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6-linux-init/command/s6-linux-init-shutdownd -d3 -c /run/s6/basedir -g 3000 -C -B"},"27":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise frigate-log"},"28":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise go2rtc-healthcheck"},"29":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise s6rc-oneshot-runner"},"30":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise nginx"},"31":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise go2rtc"},"32":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise frigate"},"33":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise s6rc-fdholder"},"34":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise certsync-log"},"35":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise nginx-log"},"36":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise certsync"},"37":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-supervise go2rtc-log"},"48":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6-2.13.2.0/command/s6-fdholderd -1 -n 256 -i data/rules"},"49":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"/package/admin/s6/command/s6-ipcserverd -1 -- /package/admin/s6/command/s6-ipcserver-access -v0 -E -l0 -i data/rules -- /package/admin/s6/command/s6-sudod -t 30000 -- /package/admin/s6-rc/command/s6-rc-oneshot-run -l ../.. --"},"96":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/nginx"},"97":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/go2rtc"},"98":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/frigate"},"100":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"s6-log -b -- T 1 n0 s10000000 T /dev/shm/logs/certsync"},"130":{"cpu":"9.7","cpu_average":"9","mem":"0.2","cmdline":"/usr/local/go2rtc/bin/go2rtc -config=/dev/shm/go2rtc.yaml"},"139":{"cpu":"5.0","cpu_average":"4","mem":"2.6","cmdline":"python3 -u -m frigate"},"140":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"bash ./run.user go2rtc-healthcheck"},"146":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"nginx: master process nginx"},"187":{"cpu":"0.1","cpu_average":"0","mem":"0.1","cmdline":"nginx: worker process"},"188":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"nginx: worker process"},"189":{"cpu":"0.3","cpu_average":"0","mem":"0.1","cmdline":"nginx: worker process"},"190":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"nginx: worker process"},"191":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"nginx: cache manager process"},"341":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"bash ./run.user certsync"},"369":{"cpu":"0.0","cpu_average":"0","mem":"1.1","cmdline":"python3 -u -m frigate"},"378":{"cpu":"2.5","cpu_average":"3","mem":"1.4","cmdline":"frigate.recording_manager"},"385":{"cpu":"1.0","cpu_average":"0","mem":"1.3","cmdline":"frigate.review_segment_manager"},"403":{"cpu":"1.5","cpu_average":"5","mem":"1.2","cmdline":"frigate.detector.coral"},"406":{"cpu":"1.0","cpu_average":"1","mem":"4.0","cmdline":"frigate.embeddings_manager"},"438":{"cpu":"14.5","cpu_average":"5","mem":"1.4","cmdline":"frigate.output "},"473":{"cpu":"2.0","cpu_average":"2","mem":"1.3","cmdline":"frigate.process:Dressing"},"482":{"cpu":"1.8","cpu_average":"3","mem":"1.3","cmdline":"frigate.process:Kinderkamer"},"493":{"cpu":"3.6","cpu_average":"11","mem":"1.4","cmdline":"frigate.process:Voorgevel"},"504":{"cpu":"5.3","cpu_average":"7","mem":"1.5","cmdline":"frigate.process:Zijgevel"},"524":{"cpu":"0.8","cpu_average":"0","mem":"1.2","cmdline":"frigate.capture:Dressing"},"530":{"cpu":"1.2","cpu_average":"1","mem":"0.3","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel qsv -qsv_device /dev/dri/renderD128 -hwaccel_output_format qsv -c:v h264_qsv -bsf:v dump_extra -user_agent FFmpeg Frigate/0.16.4-4131252 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/dressing_lo -r 5 -vf vpp_qsv=framerate=5:w=640:h=360:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"},"535":{"cpu":"0.7","cpu_average":"0","mem":"1.3","cmdline":"frigate.capture:Kinderkamer"},"536":{"cpu":"3.6","cpu_average":"3","mem":"0.2","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.4-4131252 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/dressing_hi -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -ar 44100 -c:a aac /tmp/cache/Dressing@%Y%m%d%H%M%S%z.mp4"},"546":{"cpu":"1.9","cpu_average":"1","mem":"1.3","cmdline":"frigate.capture:Voorgevel"},"552":{"cpu":"1.1","cpu_average":"1","mem":"0.4","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel qsv -qsv_device /dev/dri/renderD128 -hwaccel_output_format qsv -c:v h264_qsv -bsf:v dump_extra -user_agent FFmpeg Frigate/0.16.4-4131252 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/kinderkamer_lo -r 5 -vf vpp_qsv=framerate=5:w=640:h=360:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"},"559":{"cpu":"3.7","cpu_average":"3","mem":"0.2","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.4-4131252 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/kinderkamer_hi -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -ar 44100 -c:a aac /tmp/cache/Kinderkamer@%Y%m%d%H%M%S%z.mp4"},"586":{"cpu":"3.7","cpu_average":"3","mem":"0.2","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.4-4131252 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/voorgevel_hi -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -ar 44100 -c:a aac /tmp/cache/Voorgevel@%Y%m%d%H%M%S%z.mp4"},"597":{"cpu":"2.0","cpu_average":"1","mem":"1.2","cmdline":"frigate.capture:Zijgevel"},"606":{"cpu":"4.6","cpu_average":"4","mem":"0.4","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel qsv -qsv_device /dev/dri/renderD128 -hwaccel_output_format qsv -c:v h264_qsv -bsf:v dump_extra -user_agent FFmpeg Frigate/0.16.4-4131252 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/zijgevel_lo -r 5 -vf vpp_qsv=framerate=5:w=1280:h=720:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"},"611":{"cpu":"3.6","cpu_average":"4","mem":"0.2","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -user_agent FFmpeg Frigate/0.16.4-4131252 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/zijgevel_hi -f segment -segment_time 10 -segment_format mp4 -reset_timestamps 1 -strftime 1 -c:v copy -ar 44100 -c:a aac /tmp/cache/Zijgevel@%Y%m%d%H%M%S%z.mp4"},"1067":{"cpu":"0.0","cpu_average":"0","mem":"0.2","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x360 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"},"1074":{"cpu":"0.0","cpu_average":"0","mem":"0.1","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 640x360 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"},"1081":{"cpu":"0.0","cpu_average":"0","mem":"0.2","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"},"1088":{"cpu":"0.0","cpu_average":"0","mem":"0.2","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"},"1095":{"cpu":"5.7","cpu_average":"0","mem":"0.2","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -threads 1 -f rawvideo -pix_fmt yuv420p -video_size 1280x720 -i pipe: -threads 1 -f mpegts -s 1280x720 -codec:v mpeg1video -q 8 -bf 0 pipe:"},"1621":{"cpu":"4.5","cpu_average":"4","mem":"0.4","cmdline":"/usr/lib/ffmpeg/7.0/bin/ffmpeg -hide_banner -loglevel warning -threads 2 -hwaccel qsv -qsv_device /dev/dri/renderD128 -hwaccel_output_format qsv -c:v h264_qsv -bsf:v dump_extra -user_agent FFmpeg Frigate/0.16.4-4131252 -rtsp_transport tcp -timeout 10000000 -i rtsp://127.0.0.1:8554/voorgevel_lo -r 5 -vf vpp_qsv=framerate=5:w=1280:h=720:format=nv12,hwdownload,format=nv12,format=yuv420p -threads 2 -f rawvideo -pix_fmt yuv420p pipe:"},"49196":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"sleep 30s"},"49204":{"cpu":"0.0","cpu_average":"0","mem":"0.0","cmdline":"sleep 60"}},"service":{"uptime":14321,"version":"0.16.4-4131252","latest_version":"0.16.4","storage":{"/media/frigate/recordings":{"total":11349383.0,"used":9485274.0,"free":1861021.0,"mount_type":"nfs4"},"/media/frigate/clips":{"total":11349383.0,"used":9485274.0,"free":1861021.0,"mount_type":"nfs4"},"/tmp/cache":{"total":953.7,"used":73.3,"free":880.4,"mount_type":"tmpfs"},"/dev/shm":{"total":512.0,"used":167.9,"free":344.1,"mount_type":"tmpfs"}},"temperatures":{"apex_0":58.8},"last_updated":1771770857},"processes":{"recording":{"pid":378},"review_segment":{"pid":385},"go2rtc":{"pid":130},"embeddings":{"pid":406}}}Operating system
Debian
Install method
Proxmox via Docker
docker-compose file or Docker CLI command
Object Detector
Coral
Screenshots of the Frigate UI's System metrics pages
Any other information that may be helpful
No response
Beta Was this translation helpful? Give feedback.
All reactions