Add dlib doc (#2576)

This commit is contained in:
Pascal Vizeli 2017-05-06 20:10:19 +02:00 committed by Paulus Schoutsen
parent bb47c1d04e
commit 8afb5483aa
4 changed files with 72 additions and 1 deletions

View File

@ -0,0 +1,34 @@
---
layout: page
title: "Dlib Face Detect"
description: "Instructions how to integrate Dlib Face Detect into Home Assistant."
date: 2017-05-05 00:00
sidebar: true
comments: false
sharing: true
footer: true
logo: dlib.png
ha_category: Image Processing
featured: false
ha_release: 0.44
---
The `dlib_face_detect` image processing platform allows you to use the [Dlib](http://www.dlib.net/) through Home Assistant. This platform enables you do detect face on camera and fire a event with attributes.
For using the result inside an automation rule, take a look at the [component](/components/image_processing/) page.
### {% linkable_title Configuration Home Assistant %}
```yaml
# Example configuration.yaml entry
image_processing:
- platform: dlib_face_detect
source:
- entity_id: camera.door
```
Configuration variables:
- **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.

View File

@ -0,0 +1,38 @@
---
layout: page
title: "Dlib Face Identify"
description: "Instructions how to integrate Dlib Face Identify into Home Assistant."
date: 2017-01-25 00:00
sidebar: true
comments: false
sharing: true
footer: true
logo: dlib.png
ha_category: Image Processing
featured: false
ha_release: 0.44
---
The `dlib_face_identify` image processing platform allows you to use the [Dlib](http://www.dlib.net/) through Home Assistant. This platform allow you do identify persons on camera and fire a event with identify persons.
For using the result inside an automation rule, take a look at the [component](/components/image_processing/) page.
### {% linkable_title Configuration Home Assistant %}
```yaml
# Example configuration.yaml entry
image_processing:
- platform: dlib_face_identify
source:
- entity_id: camera.door
faces:
Jon: /home/hass/jon.jpg
Bob: /home/hass/bob.jpg
```
Configuration variables:
- **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.
- **faces** array (*Required*): List of faces sources.

View File

@ -31,7 +31,6 @@ image_processing:
Configuration variables: Configuration variables:
- **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. - **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.
- **entity_id** (*Required*): A camera entity id to get picture from. - **entity_id** (*Required*): A camera entity id to get picture from.

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.7 KiB