Microsoft Face Detect

The microsoft_face_detect image processing integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] allows you to use the Microsoft Face Identify API through Home Assistant. This platform enables you to detect face on camera and fire an event with attributes.

Please refer to the Microsoft Face integration configuration on how to setup the API key.

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

Important

The free version of the Microsoft Face identify API limits the number of requests possible per month. Therefore, it is strongly recommended that you limit the scan_interval when setting up an instance of this entity as detailed on the main Image Processing integration page.

Configuration

To enable the integration, add it to your configuration.yamlconfiguration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] file. 在更改了configuration.yamlconfiguration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] 文件后,重启 Home Assistant 以应用更改。

# Example configuration.yaml entry
image_processing:
  - platform: microsoft_face_detect
    source:
      - entity_id: camera.door

Configuration Variables

confidence integer (Optional, default: 80)

The minimum of confidence in percent to process with Home Assistant.

source list Required

List of image sources.

entity_id string Required

A camera entity id to get picture from.

name string (Optional)

This parameter allows you to override the name of your image_processing entity.

attributes list (Optional, default: [age, gender])

The image search attributes. Supported: age, gender, glasses.