DLIB - image processing - how to display faces on Lovelace UI

Hello I’ve succeeded to use DLIB image processing (included no additional required), however i’m not able, as noob to show it on the Lovelace UI with name faces on a card :thinking: :thinking:

:hot_face: I’d like to be able to display :

  • last motion : 1hour
  • last face : Thomas
  • last image : #croppedFaceImage

This is my working config :

  • configuration.yaml
camera:
  - platform: generic
    name: portailWebcam
    still_image_url: http://192.xxx.x.xx:xxxx/cgi/jpg/xxxxxcgi
    stream_source: rtsp://192.xxx.x.xx:xxx/xxxxx.sdp
    username: xxxxxx 
    password: yyyyyyyyy

image_processing:
  - platform: dlib_face_detect
    source:
      - entity_id: camera.portailwebcam

  - platform: dlib_face_identify
    source:
      - entity_id: camera.portailwebcam
    faces:
     Thomas: /config/www/faces/Thomas.jpg
     Michel: /config/www/faces/Michel.png
  • Lovelace UI

image

type: picture-glance
title: Garden
image: 'https://demo.home-assistant.io/stub_config/kitchen.png'
entities:
  - entity: binary_sensor.updater
  - entity: image_processing.dlib_face_portailwebcam_2
aspect_ratio: 0%
entity: image_processing.dlib_face_portailwebcam_2
camera_image: camera.portailwebcam
type: entities
title: Movement / Door Sensor's
entities:
  - entity: image_processing.dlib_face_portailwebcam_2
    name: Last face dectection
    secondary_info: last-changed

Hi Thomas,

Had you ever get to display the name of recognised face?

Not but i’m back to this project and many other solutions exists now.
Let’s see !

1 Like