We took the magic mirror concept a step further by enabling user recognition :smiley:. The mirror can recognize registered users and personalize the experience accordingly.
The Magic Mirror is a fun weekend IoT project that showcases the power of Universal Windows Platform (UWP) hosted web apps. Please check out the instructions below to see how you can build it yourself :rocket:.
The client side was coded against standard web technologies (CSS, HTML, JS) :heart:, and the back-end leverages the power of NodeJS and Mongo hosted on Azure. The client side implements Windows API (mediaCapture) to detect faces from the devices camera, and the Microsoft's Cognitive Services Face API to match Faces to profiles.
Before using the magic mirror, users need to create a profile using the desktop app. You need a profile so the mirror can recognize you and adapt to your needs.
Please see the assembly process section.
You have to deploy two Hosted Web apps (HWA). The first HWA allows you to create your profile and is meant to run on your desktop. The second HWA powers the Magic Mirror UI that runs on the Raspberry Pi 2/3.
Prerequisites:
Steps to deploy the Profile Creator app to your desktop:
Steps to deploy the Magic Mirror app to the Raspberry Pi 2:
You can find a tutorial of how to deploy HWA using Visual Studio here.
Coming soon...
For guidelines on contributing to this project, please refer to the contributing section.
Please see the run locally section.
The weather icons were created by Yorlmar Campos under a Creative Commons Attribution 3.0 license.
This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.