Face unlock/recognition with back camera

420

Active member
I have come up with something unconventional again... :ROFLMAO:

I have this "frosted glass" film on the window of my frontdoor, now i was thinking i could make a tiny hole in it and mount a tablet in front of it as a sort of 21st century peep-hole :ROFLMAO: The idea is that when motion is detected with the front camera (someone walks into the hallway) the screen turns on showing the footage of the back camera, so i can look outside, and it could also speak some text out loud if i want it to.

I think these things can all be done, but then something else came to my mind.. I would like to use the back camera either for face unlock (so i can use device unlocked as a trigger in macrodroid) or just to somehow recognize me and trigger a macro to unlock my frontdoor.. Does anyone know if this is possible and if so, how?

I'm not in a rush to figure this out btw, just trying to figure out if what i want is possible, i don't even have a smart door lock and extra tablet yet.. :ROFLMAO:
 

tanutanu

Well-known member
I have come up with something unconventional again... :ROFLMAO:

I have this "frosted glass" film on the window of my frontdoor, now i was thinking i could make a tiny hole in it and mount a tablet in front of it as a sort of 21st century peep-hole :ROFLMAO: The idea is that when motion is detected with the front camera (someone walks into the hallway) the screen turns on showing the footage of the back camera, so i can look outside, and it could also speak some text out loud if i want it to.

I think these things can all be done, but then something else came to my mind.. I would like to use the back camera either for face unlock (so i can use device unlocked as a trigger in macrodroid) or just to somehow recognize me and trigger a macro to unlock my frontdoor.. Does anyone know if this is possible and if so, how?

I'm not in a rush to figure this out btw, just trying to figure out if what i want is possible, i don't even have a smart door lock and extra tablet yet.. :ROFLMAO:
Interests but with HA devices, it is much easier;) Some of them accept RESTful API by their internal httpd. So MD can access directly. Many Chinese made cheap products are sold on Amazon, AliExpress or vendors' direct. Check them up:)
 
  • Wow
Reactions: 420

420

Active member
Interests but with HA devices, it is much easier;) Some of them accept RESTful API by their internal httpd. So MD can access directly. Many Chinese made cheap products are sold on Amazon, AliExpress or vendors' direct. Check them up:)
I really don't know what this "RESTful API" and "internal httpd" are, it does not sound much easier to me.. :ROFLMAO:

I have only cheap chinese wifi devices and i've looked into how to flash them with tasmota a bunch of times but this is to complicated for me.

I've also looked into HA a bunch of times, i even had it running in virtualbox once, but this is also very complicated, it's to much for me honestly.
 

tanutanu

Well-known member
I really don't know what this "RESTful API" and "internal httpd" are, it does not sound much easier to me.. :ROFLMAO:

I have only cheap chinese wifi devices and i've looked into how to flash them with tasmota a bunch of times but this is to complicated for me.

I've also looked into HA a bunch of times, i even had it running in virtualbox once, but this is also very complicated, it's to much for me honestly.
I suppose you use webhook or something via HTTPD/GET. REST(ful) API is its reversed version, send parameters on GET or POST strings, and get XML or JSON data structures as the return. httpd means web server, http daemon process. I really believed you know them so much because you always answered to every questions accurately:)

Anyway, starting up with Google or Amazon certificated devices is a good option and good enough for minimal personal use. Worth trying even if just turning on your TV and/or ceiling light.
 

420

Active member
I suppose you use webhook or something via HTTPD/GET. REST(ful) API is its reversed version, send parameters on GET or POST strings, and get XML or JSON data structures as the return. httpd means web server, http daemon process. I really believed you know them so much because you always answered to every questions accurately:)

Anyway, starting up with Google or Amazon certificated devices is a good option and good enough for minimal personal use. Worth trying even if just turning on your TV and/or ceiling light.
Ah, i have indeed been using HTTP GET (coincidentally i just made my first ever POST request with JSON last night, so i understand a little bit more now) but i use sequematic.com as a middle man to acces the tuya API, i have looked into getting acces to their API myself a couple times but it's another one of those complicated things... :p
 
Top