home-assistant.io/source/_components/image_processing.markdown
Franck Nijhof 6224c71c08 Various markdown, spelling, and grammar fixes #3 (#4510)
*  Various markdown, spelling, and grammar fixes

*  Various markdown, spelling, and grammar fixes

*  Various markdown, spelling, and grammar fixes
2018-01-25 18:21:05 +01:00

1.7 KiB

layout title description date sidebar comments sharing footer ha_release
page Image Processing Instructions how to setup image processing with Home Assistant. 2017-01-09 00:00 true false true true 0.36

Image processing enables Home Assistant to process images from cameras. Only camera entities are supported as sources.

For interval control, use scan_interval in platform.

If you are running Home Assistant over SSL or from within a container, you will have to setup a base URL (`base_url`) inside the [http component](/components/http/).

{% linkable_title ALPR %}

Alpr entities attribute have a vehicle counter vehicles and all found plates as plates.

This event is trigger after OpenALPR found a new license plate.

# Example configuration.yaml automation entry
automation:
- alias: Open garage door
  trigger:
    platform: event
    event_type: image_processing.found_plate
    event_data:
      entity_id: openalpr.camera_garage_1
      plate: BE2183423
...

The following event attributes will be present (platform-dependent): entity_id, plate, confidence

{% linkable_title Face %}

Face entities attribute have a face counter total_faces and all face data as faces.

This event is trigger after Microsoft Face found a faces.

# Example configuration.yaml automation entry
automation:
- alias: Known person in front of my door
  trigger:
    platform: event
    event_type: image_processing.detect_face
    event_data:
      entity_id: image_processing.door
      name: 'Hans Maier'
...

The following event attributes will be present (platform-dependent): entity_id, name, confidence, age, gender, motion, glasses