jakowenko / double-take

Unified UI and API for processing and training images for facial recognition.
https://hub.docker.com/r/jakowenko/double-take
MIT License
1.22k stars 98 forks source link

[FEAT] create HomeAS sensors with home security in mind #162

Open jonahgcarpenter opened 2 years ago

jonahgcarpenter commented 2 years ago

While this was created with the idea of something like whole home presence detection in mind, this would also be useful for something like home security. Creating sensors that are more accurately suited for something like this would most likely be appreciated by many.

It would be great if the sensors created by the double-take home AS integration were more "live" meaning they wouldn't hold onto states. Ex: the sensor.double_take<insertname> keeps the state of the last camera you were detected on rather than only showing the state when you are being detected by a certain camera

I've been trying to use double-take and compreface to send me notifications when someone is detected on any one of my security cameras, because the general "Someone has been detected" notifications used by security apps ins't enough for me. I have been having trouble finding the accurate way to trigger automations for sending me notifications within HomeAS to see who is coming into my house. Although I understand the issues of using facial recognition for home security, personally I think it would be a create use of a tool like this! With everything said you guys are the brains behind this so take my suggestion with a grain of salt, I would just love to see the addition!

NickM-27 commented 2 years ago

Just curious, what part of what you are describing isn't working? Assuming you are using frigate with this you can see here: https://github.com/blakeblackshear/frigate/discussions/2898 where I have implemented the notifications you are describing.