Read the statement by Michael Teeuw here.
MagicMirror With Face Recognition
-
This is my first Magic Mirror project. Here’s a video of how it looks when it’s running:
https://youtube.com/shorts/tneDVz6mku8It utilizes the following existing modules with slight modifications and styling
Clock
Used as is with some CSS styling
Weather
Adjusted the layout and styling of the module and added the hourly forecast section
Calendar
Adjusted the layout and styling of the module to highlight the first item in the calendar.
MMM-Videoplayer
Used this module to display a new ASL video each day from a library of videos stored locally. The playing of the video is controlled through the gesture sensor.
MMM-GroveGestures
Uses the GroveGesture Sensor(PAJ7620u2) to register a swipe which activates the ASL sign of the day module. Currently this is the only swipe gesture being used.MMM-Face-Recognition-SMAI
Uses a Camera Module 3 and Open CV to recognize faces and then sends an HDMI CEC command to turn the screen on or off.The face recognition was one of the most difficult parts because, while the module is fairly simply, it assumes that you’ve installed OpenCV and trained a face recognition model which took me a bit of research and few tries to figure out and get right. Overall I’m pretty happy with the outcome.
Hardware
(updated since I forgot to post it originally)- Raspberry Pi 4
- Raspberry Pi Camera Module 3 (used for face recognition)
- GroveGesture Sensor (Used for swipe commands)
- I think the mirror was originally from IKEA. I swapped out the mirror with a piece of MirrorView glass
-
@mchan Do you use reco-SMAI to provide different modules to different users like reco-dnn?
-
@sdetweil Not currently. Right now it is just used to turn the screen on when it detects a recognized user and then turn the screen off when no recognized users are present. It can definitely be used to display different modules per user but I’ve not had the time to put additional modules in place.
-
@mchan cool.
-
Really great and unique idea!
-
This looks pretty cool. Nice work with the styling.
Can you let me know which hardware you are using? Like the sensors and where is MM running on? -
Nicely done!
What computer hardware are you using? RPi5? -