Read the statement by Michael Teeuw here.
Camera intigration in your Mirror
-
Where do you hide the IR-LEDs? In the Frame? Is there a special Module to use the Camera to disable the mirror or do you just disable all modules, if no face is recognized?
-
No, the IR-Spot is completely at another place. This spot is mounted under the room cover above the mirror.
I use the cam SW to recognize any motion in the front of the mirror named MOTION-MMAL
Take a look for example at
https://embeddedday.com/projects/raspberry-pi/a-step-further/install-motion-mmal/
In the config file you can define how the SW has to work and which commands are executed by the SW.
Se also here in this Forum
https://forum.magicmirror.builders/topic/988/motion-detection-with-raspicam-non-module-version/
-
Ok, sounds interesting. Can the Face-Recognitiontool and the MMAL-Motion share the camera? If I try to use the Camera with “raspistill” while the Face-Recog-Module is enable, I get an Error.