Fix/openalpr docs (#1790)

* Fixes image_processing.openalpr_cloud.markdown

Fixes image_processing.openalpr_cloud.markdown with correct configuration variables

* Fixes image_processing.openalpr_local.markdown

Fixes image_processing.openalpr_local.markdown with correct configuration variables
This commit is contained in:
Mathew Peterson 2017-01-16 01:17:57 -06:00 committed by Fabian Affolter
parent 9f5b9975b9
commit 54ea7df94d
2 changed files with 7 additions and 6 deletions

View File

@ -21,6 +21,7 @@ ha_release: 0.36
# Example configuration.yaml entry # Example configuration.yaml entry
image_processing: image_processing:
- platform: openalpr_cloud - platform: openalpr_cloud
api_key: 'sk_abcxyz123456'
region: eu region: eu
source: source:
- entity_id: camera.garage - entity_id: camera.garage
@ -28,7 +29,7 @@ image_processing:
Configuration variables: Configuration variables:
- **region** (*Required*): Country or region. List of supported [values](https://github.com/openalpr/openalpr/tree/master/runtime_data/config). - **region** (*Required*): Country or region. List of supported [values](https://github.com/openalpr/openalpr/tree/master/runtime_data/config).
- **alpr_bin** (*Optional*): The command line tool alpr from OpenALPR software for local processing. Defaults to `alpr`. - **api_key** (*Required*): You need an API key from [OpenALPR Cloud](https://cloud.openalpr.com/).
- **confidence** (*Optional*): The minimum of confidence in percent to process with Home Assistant. Defaults to 80. - **confidence** (*Optional*): The minimum of confidence in percent to process with Home Assistant. Defaults to 80.
- **source** array (*Required*): List of image sources. - **source** array (*Required*): List of image sources.
- **entities** (*Required*): A list of devices to add in Home Assistant. - **entities** (*Required*): A list of devices to add in Home Assistant.

View File

@ -35,11 +35,11 @@ $ wget -O- -q http://plates.openalpr.com/h786poj.jpg | alpr -
### {% linkable_title Configuration Home Assistant %} ### {% linkable_title Configuration Home Assistant %}
```yaml ```yaml
# Example configuration.yaml entry # Example configuration.yaml entry
image_processing: image_processing:
- platform: openalpr_cloud - platform: openalpr_local
api_key: 'sk_abcxyz123456'
region: eu region: eu
source: source:
- entity_id: camera.garage - entity_id: camera.garage
@ -47,7 +47,7 @@ image_processing:
Configuration variables: Configuration variables:
- **region** (*Required*): Country or region. List of supported [values](https://github.com/openalpr/openalpr/tree/master/runtime_data/config). - **region** (*Required*): Country or region. List of supported [values](https://github.com/openalpr/openalpr/tree/master/runtime_data/config).
- **api_key** (*Required*): You need an API key from [OpenALPR Cloud](https://cloud.openalpr.com/). - **alpr_bin** (*Optional*): The command line tool alpr from OpenALPR software for local processing. Defaults to `alpr`.
- **confidence** (*Optional*): The minimum of confidence in percent to process with Home Assistant. Defaults to 80. - **confidence** (*Optional*): The minimum of confidence in percent to process with Home Assistant. Defaults to 80.
- **source** array (*Required*): List of image sources. - **source** array (*Required*): List of image sources.
- **entities** (*Required*): A list of devices to add in Home Assistant. - **entities** (*Required*): A list of devices to add in Home Assistant.