mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-08 12:08:58 +00:00
2.1 KiB
2.1 KiB
layout, title, description, date, sidebar, comments, sharing, footer, logo, ha_category, featured, ha_release
layout | title | description | date | sidebar | comments | sharing | footer | logo | ha_category | featured | ha_release |
---|---|---|---|---|---|---|---|---|---|---|---|
page | OpenAlpr Local | Instructions how to integrate licences plates with OpenAlpr local into Home Assistant. | 2017-01-09 00:00 | true | false | true | true | openalpr.png | Image_Processing | false | 0.36 |
OpenAlpr integration for Home Assistant allows you to process licences plates from a camera. You can use them to open a garage door or trigger any other automation.
{% linkable_title Local installation %}
If you want process all data local you need the command line tool alpr
in version > 2.3.1
If you don't find binaries for your distribution you can compile from source. Documention of how to build openalpr is found here.
On a debian system you can use this cmake command to build only the command line tool (which second part on linux build instruction - ubuntu 14.04+):
cmake -DWITH_TEST=FALSE -DWITH_BINDING_JAVA=FALSE --DWITH_BINDING_PYTHON=FALSE --DWITH_BINDING_GO=FALSE -DWITH_DAEMON=FALSE -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
Verify your alpr installation with:
wget -O- -q http://plates.openalpr.com/h786poj.jpg | alpr -
{% linkable_title Configuration Home Assistant %}
# Example configuration.yaml entry
image_processing:
- platform: openalpr_cloud
api_key: 'sk_abcxyz123456'
region: eu
source:
- entity_id: camera.garage
Configuration variables:
- region (Required): Country or region. List of Supported value.
- api_key (Required): You need a api key from OpenAlpr Cloud.
- confidence (Optional): Default 80. The minimum of confidence in percent to process with Home-Assistant.
- source (Required):
- entities (Required): A list of device to add in Home-Assistant.
- name (Optional): This parameter allows you to override the name of your openalpr entity.