Read the statement by Michael Teeuw here.
Pi camera use for turning on mirror
-
I have read multiple forums about motion detector and facial recognition for turning on the magic mirror. Is there one that is plug and play, or has a good walkthrough? I’m having difficulties with python and the motion software.
-
@reallykeene i use a logitech webcam for my camera… and I use the motion project for interfacing to the camera
https://motion-project.github.io/
sudo apt-get install motion
i didn’t want to try to interface a module to lots of different camera… motion handles that.
I didn’t want to deal with coding for all the different options I might needs (sensitivity, lightswitch flash. …you name it… motion handles it…
i don’t know how it interfaces with face reco, but it can capture images, and forward those on for matching
-
i wrote my own module as I use TV and it can’t turn off, and I wanted webcam…
https://github.com/sdetweil/MMM-SleepWake
uses the motion module discussed above…
-
@sdetweil ok I now have motion working. Tested with vlc. But I’m unable to get your module to work. What screen shots might you need to help?
I changed the time to 1min but the screen will not hide. -
@reallykeene did u set the motion config to trigger my script?
-
@reallykeene also, if u look in /var/log/motion.log to see motion events