Dlib Face Identify
The dlib_face_identify
image processing integration集成将 Home Assistant 与您的设备、服务等连接和集成。 [Learn more] allows you to use the Dlib
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
To enable Dlib Face Identify, add the following lines to your configuration.yaml
configuration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] file.
在更改了configuration.yaml
configuration.yaml 文件是 Home Assistant 的主要配置文件。它列出了要加载的集成及其特定配置。在某些情况下,需要直接在 configuration.yaml 文件中手动编辑配置。大多数集成可以在 UI 中配置。 [Learn more] 文件后,重启 Home Assistant 以应用更改。
# 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
If the platform fails to load because it could not install its requirement, install cmake: sudo apt-get install cmake
.