/The-Smart-Lustro

IOT based smart mirror

Primary LanguageJavaScript

The-Smart-Lustro

IOT-based smart mirror Our IOT-based smart mirror detects the face of the person standing in front of it, and then it displays the following personalized information:

  1. To-do list, diet, remainders, and emails
  2. Irrespective of the person scanned, information like weather, news, YouTube videos, etc., can be accessed.

The face detection model can be found in the '' file, which used deep learning to train the model in such a way that faces can be recognized even in dark lighting conditions. The algorithm detects the facial expression of the person standing and even sets the smart mirror's mood accordingly

Hardware requirements:

  1. Wood Frame
  2. Desktop Monitor
  3. Raspberry Pi
  4. Arduino
  5. Py Cam

Software requirements:

  1. Magic Mirror
  2. Raspberry Pi Raspbian Buster
  3. Alexa

Instructions:

Raspbian Buster Installation

image

  1. Download and install The latest Raspbian OS which can be found on Raspberry Pi
  2. Download Etcher and install the application on your computer.
  3. Plug your Micro SD card Adapter with your SD card into the computer.
  4. Open Balena Etcher and select extracted the image you’ve downloaded.
  5. Ensuring the correct disk has been selected click “Flash!” to begin writing the image to your SD Card. Note: This process could take 10-15 minutes
  6. Remove the SD Card and plug in Pi. Whereby you could access Pi via VNC or Mouse and Keyboard

Magic Mirror Installation

image

https://magicmirror.builders/

Upon boot-up of the Raspberry Pi, complete the remaining setup, and ensure you’re connected to the internet via LAN/Wi-Fi. Full instructions and extra features can be found here: https://docs.magicmirror.builders/getting-started/installation.html#manual-installation

image

Nodejs

curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
sudo apt install -y nodejs

Clone the repository and check out the master branch:

git clone https://github.com/MichMich/MagicMirror
cd MagicMirror/

Install the application:

npm install

Make a copy of the config sample file:

cp config/config.js.sample config/config.js
npm run start
npm run server 

Installing the modules:

 cd ~/MagicMirror/modules
   git clone https://github.com/meghsat/The-Smart-Lustro.git
   cd TheSmartLustro
   npm install