home-assistant.io/source/_integrations/dlib_face_identify.markdown
2022-03-30 21:50:39 +02:00

1.8 KiB

title, description, ha_category, ha_iot_class, ha_release, ha_domain, ha_integration_type
title description ha_category ha_iot_class ha_release ha_domain ha_integration_type
Dlib Face Identify Instructions on how to integrate Dlib Face Identify into Home Assistant.
Image Processing
Local Push 0.44 dlib_face_identify integration

The dlib_face_identify image processing platform allows you to use the Dlib through Home Assistant. This platform allow you to identify persons on camera and fire an event with identify persons.

For using the result inside an automation rule, take a look at the integration page.

This integration is only available on Home Assistant Core installation types. Unfortunately, it cannot be used with Home Assistant OS, Supervised or Container.

Configuration

# 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 %} source: description: List of image sources. required: true type: list keys: entity_id: description: A camera entity id to get picture from. required: true type: string name: description: This parameter allows you to override the name of your image_processing entity. required: false type: string faces: description: List of faces sources. required: true type: list confidence: description: How much distance between faces to consider it a match. Using tolerance values lower than 0.6 will make the comparison more strict. required: false type: float default: 0.6 {% endconfiguration %}

If the platform fails to load because it could not install its requirement, install cmake: sudo apt-get install cmake.