From 05219416f0ea21528e3a338e69884a8c7eb16c93 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Sat, 11 Feb 2017 18:09:54 +0100 Subject: [PATCH] Minor updates --- source/_components/image_processing.markdown | 4 ++-- ..._processing.microsoft_face_detect.markdown | 19 ++++++++++--------- ...rocessing.microsoft_face_identify.markdown | 5 +++-- 3 files changed, 15 insertions(+), 13 deletions(-) diff --git a/source/_components/image_processing.markdown b/source/_components/image_processing.markdown index aaf458d39e4..41f36134250 100644 --- a/source/_components/image_processing.markdown +++ b/source/_components/image_processing.markdown @@ -37,7 +37,7 @@ automation: ... ``` -The following event attributes will be present (platform depents): `entity_id`, `plate`, `confidence` +The following event attributes will be present (platform-dependent): `entity_id`, `plate`, `confidence` ## {% linkable_title Face %} @@ -58,4 +58,4 @@ automation: ... ``` -The following event attributes will be present (platform depends): `entity_id`, `name`, `confidence`, `age`, `gender`, `motion`, `glasses` +The following event attributes will be present (platform-dependent): `entity_id`, `name`, `confidence`, `age`, `gender`, `motion`, `glasses` diff --git a/source/_components/image_processing.microsoft_face_detect.markdown b/source/_components/image_processing.microsoft_face_detect.markdown index 10ed16b8f48..aa2a1cd1a83 100644 --- a/source/_components/image_processing.microsoft_face_detect.markdown +++ b/source/_components/image_processing.microsoft_face_detect.markdown @@ -1,7 +1,7 @@ --- layout: page -title: "Microsoft Face detect" -description: "Instructions how to integrate microsoft face detect into Home Assistant." +title: "Microsoft Face Detect" +description: "Instructions how to integrate Microsoft Face Detect into Home Assistant." date: 2017-01-25 00:00 sidebar: true comments: false @@ -10,10 +10,10 @@ footer: true logo: microsoft.png ha_category: Image Processing featured: false -ha_release: 0.37 +ha_release: 0.38 --- -The `microsoft_face_detect` image processing platform lets you use [Microsoft Face identify](https://www.microsoft.com/cognitive-services/en-us/) API through Home Assistant. This platform allow you do detect face on camera and fire a event with attributes. +The `microsoft_face_detect` image processing platform allows you to use the [Microsoft Face Identify](https://www.microsoft.com/cognitive-services/en-us/) API through Home Assistant. This platform enables you do detect face on camera and fire a event with attributes. Please refer to the [component](/components/microsoft_face/) configuration on how to setup the API key. @@ -24,15 +24,16 @@ For using the result inside an automation rule, take a look at the [component](/ ```yaml # Example configuration.yaml entry image_processing: - - platform: microsoft_face_detect - source: - - entity_id: camera.door + - platform: microsoft_face_detect + source: + - entity_id: camera.door ``` + Configuration variables: -- **group** (*Required*): Micrsoft face group to detect person from it. +- **group** (*Required*): Microsoft Face group used to detect the person. - **confidence** (*Optional*): The minimum of confidence in percent to process with Home Assistant. Defaults to 80. - **source** array (*Required*): List of image sources. - **entity_id** (*Required*): A camera entity id to get picture from. - **name** (*Optional*): This parameter allows you to override the name of your `image_processing` entity. -- **attributes** array (*Optional*): Default age,gender. Attributes for search on picture. Supported: age, gender, glasses +- **attributes** array (*Optional*): The image search attributes. Supported: `age`, `gender`, `glasses`. Default `age`, `gender`. diff --git a/source/_components/image_processing.microsoft_face_identify.markdown b/source/_components/image_processing.microsoft_face_identify.markdown index c134396c5c3..e600ae36a61 100644 --- a/source/_components/image_processing.microsoft_face_identify.markdown +++ b/source/_components/image_processing.microsoft_face_identify.markdown @@ -1,7 +1,7 @@ --- layout: page -title: "Microsoft Face identify" -description: "Instructions how to integrate microsoft face identify into Home Assistant." +title: "Microsoft Face Identify" +description: "Instructions how to integrate Microsoft Face Identify into Home Assistant." date: 2017-01-25 00:00 sidebar: true comments: false @@ -29,6 +29,7 @@ image_processing: source: - entity_id: camera.door ``` + Configuration variables: - **group** (*Required*): Micrsoft face group to detect person from it.