Skip to content
Home voice controlled automation based on Smart Mirror project
JavaScript Python Java Shell CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


Based on Smart Mirror with a smart AI 🤖

Setup Guide

Download the stable version of Node.js:

Clone the latest MagicMirror code from:

Navigate inside the MagicMirror folder

cd MagicMirror

Install MagicMirror dependencies

sudo npm install

Verify it starts

npm start

Navigate out of the MagicMirror folder

cd ..

Clone this repository (AI Smart Mirror)

git clone

Copy the folders in AI-Smart-Mirror/magic_mirror to MagicMirror/modules

Copy the config.js file in AI-Smart-Mirror/magic_mirror to MagicMirror/config


Make sure Ruby is installed:

Install Homebrew:

Navigate to the AI-Smart-Mirror folder

cd AI-Smart-Mirror

Install ffmpeg

brew install ffmpeg

Use to create a virtual environment and install dependencies

sudo ./

Activate the virual evironment

source hhsmartmirror/bin/activate

Replace and tokens in the file

Make sure MagicMirror is running, then start the AI


Setup Facial Recognition

Refer to this guide:

Install openCV with

brew tap homebrew/science
brew install opencv

Open a new terminal tab with command+t

Check the version with

cd /usr/local/Cellar/opencv

Return to the tab with AI-Smart-Mirror

Deactivate the virtual environment


Navigate to the site-packages folder in the virtual environment

cd hhsmartmirror/lib/python2.7/site-packages

Link the and files and replace $VERSION with the version you found

ln -s /usr/local/Cellar/opencv/$VERSION/lib/python2.7/site-packages/
ln -s /usr/local/Cellar/opencv/$VERSION/lib/python2.7/site-packages/ cv2.s

Check that the files are there


Return the the AI-Smart-Mirror directory

cd ../../../..

Reactivate the virtual evironment

source hhsmartmirror/bin/activate

Start the app

You can’t perform that action at this time.