Double take facial recognition from doorbell snapshot

Hello everyone,

I’m a beginner with Home Assistant and have recently started experimenting with facial recognition, but so far without success. This is what I’m trying to achieve:

I want to apply facial recognition to an image from the video doorbell. The doorbell camera is only active when the doorbell is pressed. So far, I’ve managed to save an image snapshot in the media folder (My media/snapshots/last_motion.jpg) every time the doorbell is pressed.

Now, I want to pass this snapshot through Double Take to apply facial recognition. I’m not yet familiar with Double Take and not sure if this is actually possible. Ideally, Double Take would return the recognized person so that I can use this in automations.

Any tips on how to set this up are welcome. Below are some specifications regarding my setup:

•	Home Assistant Core running on Raspberry Pi 4B (SSD)
•	Niko Camera Doorbell Ref. 550-22001 integrated with Niko Home Control
•	Niko Home is integrated into Home Assistant via the Hobby API

Greets,

Senne

There are pretty comprehensive instructions, including integrating with home assistant and frigate here GitHub - skrashevich/double-take: Unified UI and API for processing and training images for facial recognition.