Identify license plates via Plate Recognizer and adds them as sublabels to Frigate
10K+
Identify license plates via Plate Recognizer and add them as sublabels to blakeblackshear/frigate
https://github.com/ljmerza/frigate_plate_recognizer
Create a config.yml file in your docker volume with the following contents:
frigate:
frigate_url: http://127.0.0.1:5000
mqtt_server: 127.0.0.1
mqtt_auth: false
mqtt_username: username
mqtt_password: password
main_topic: frigate
camera:
- driveway_camera
min_score: .8
plate_recognizer:
token: xxxxxxxxxx
regions:
- us-ca
logger_level: INFO
Update your frigate url, mqtt server settings. If you are using mqtt authentication, update the username and password. Update the camera name(s) to match the camera name in your frigate config. Add your Plate Recognizer API key and region(s).
You'll need to make an account (free) here and get an API key. You get up to 2,500 lookups per month for free. You will also need to enable car object detection for the cameras you want to use this with.
You can specify a custom url for the plate_recognizer api by adding api_url to your config:
plate_recognizer:
api_url: http://HOST-IP:8080/v1/plate-reader
token: xxxxxxxxxx
regions:
- us-ca
See here on how to locally host Plate Recognizer.
docker run -v /path/to/config:/config -e TZ=America/New_York -it --rm --name frigate_plate_recognizer lmerza/frigate_plate_recognizer:latest
or using docker-compose:
services:
frigate_plate_recognizer:
image: lmerza/frigate_plate_recognizer:latest
container_name: frigate_plate_recognizer
volumes:
- /path/to/config:/config
restart: unless-stopped
environment:
- TZ=America/New_York
https://github.com/ljmerza/frigate_plate_recognizer
set logger_level in your config to DEBUG to see more logging information:
logger_level: DEBUG
Logs will be in /config/frigate_plate_recognizer.log
Content type
Image
Digest
sha256:e8fbb4b8f…
Size
190.7 MB
Last updated
about 2 months ago
docker pull lmerza/frigate_plate_recognizer