For using the result inside an automation rule, take a look at the image processing integration page.
If you want process all data locally, you will need version 2.3.1 or higher of the
alpr command line tool.
If you don’t find binaries for your distribution, you can compile the tool from source. Documentation of how to build OpenALPR is found here.
On a Debian system you can use the following
cmake command to build only the command
cmake -DWITH_TEST=FALSE -DWITH_BINDING_JAVA=FALSE --DWITH_BINDING_PYTHON=FALSE \ --DWITH_BINDING_GO=FALSE -DWITH_DAEMON=FALSE -DCMAKE_INSTALL_PREFIX:PATH=/usr ..
For other operating systems, please refer to the OpenALPR wiki.
alpr installation with a command like the following:
wget -O- -q http://plates.openalpr.com/h786poj.jpg | alpr -
# Example configuration.yaml entry image_processing: - platform: openalpr_local region: eu source: - entity_id: camera.garage
Country or region. List of supported values.
The command line tool alpr from OpenALPR software for local processing.
The minimum confidence in percent to process with Home Assistant.