Facial recognition & room presence using Double Take & Frigate

Try this branch: GitHub - skrashevich/double-take: Unified UI and API for processing and training images for facial recognition.
It has integration with CodeProject. However I am getting issues with everything as a 0% match, but at least you can train from Double Take and get a response from Double Take. If you do use it and get it working with correct match, please do let me know

@ctml did you manage to implement this? Did you use @cunninr2 suggested post? I have tried implementing it but keep getting stuck with a lot of errors on paste

I didn’t figure out to install his beta version in home assistance. It not available for download. If tell me how to do it manually I will try to do it. Right I stuck waiting for new version to be able to be download.

If you have any ideas how we can resolve this issue just let me know and I will try to test it to get it working.

Greg

Hi all

I’m trying to add Double Take/Deepstack to my already working Frigate.
Frigate is on a dedicated container in Proxmox, while Double Take and Deepstack are HA addon

This is my DT config

# Double Take
# Learn more at https://github.com/jakowenko/double-take/#configuration
mqtt:
  host: 192.168.1.190
  username: !secret mqtt_user
  password: !secret mqtt_pwd
  topics:
    matches: double-take/matches
    frigate: frigate/events


frigate:
  url: http://192.168.1.43:5000
  attempts:
    latest: 15
    snapshot: 0
  cameras:
    - cam1
    - cam2
    - cam3
    - cam4

detectors:
  deepstack:
    url: http://192.168.1.190:5001
    

confidence:
  match: 50
  unknown: 30

save:
  matches: true
  unknown: true

purge:
  matches: 48
  unknown: 12

I get this message every minute in DT as popup

Cannot read properties of undefined (reading ‘id’)

What can I check?

Thanks

3 Likes

strange, I also got this error

2 Likes

@customstudioyandexru and @woody4165 there is a solution. Check out Error messages popping up · Issue #313 · jakowenko/double-take · GitHub. The fix is essentially using a patched repo from Mincka

3 Likes

this helped me. There is no more error

1 Like

Friends, help me to learn how to recognize shoes on the surface!

I see that Double Take can use OpenCV, but I don’t know what OpenCV is or how to use. Any starter guides or readme’s on the benefits of using opencv or what it does for Double Take?

Jag tror inte opencv stöds. Enligt hemsida så kan man använda

1 Like

Can someone point me out in making an automation
So i have Frigate, Double take with Deepstack trained on me, a door lock and a camera.
I make an automation in Node Red like this


When sensor.double_take_denis is door then fire door open.
But the thing is that sensor.double_take_denis remembers its previous state until changed, i have only one camera detection so it is always “DOOR”
How do i get it changed to none (like occupancy sensors)

Hi Guy’s! Double Take is working fine in mij HA set-up, but I got a question: can this be use to do “Object Detection” instead of “Face Recognition”?

Seems like most people use Frigate for object detection.

Frigate has a very limited set of objects based on the coco set currently and may actually get MORE limited but more accurate geared toward surveillance with frigate plus. For example face detection is being added to frigate which would be more efficient that triggering double take on a person that may not be facing the camera.

Thank you for sharing your amazing work.

Is it possible to distinguish between real person or a photo with face?

But I guess Face detection will be added to Frigate Plus, right?

I really was hoping to have a reliable face detection method. I have been experimenting with Compreface, DeepStack and Codeproject.ai but all lack in reliable and effective responses. Lot’s and lot’s of false positives.

What Frigate plus?

Frigate plus seems to be a subscription model from Frigate. Don’t exactly what it is.

1 Like

For some reason my HA logbook only shows double_take_frigate_office changed to 1 or 0 but isn’t showing any names. How do I adjust this?