• Stars
    star
    536
  • Rank 82,224 (Top 2 %)
  • Language
    Python
  • License
    MIT License
  • Created almost 8 years ago
  • Updated almost 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Smart Mirror with a smart AI 🤖

AI-Smart-Mirror

Smart Mirror with a smart AI 🤖

Watch the video on how to make it here: https://youtu.be/ejnE6DM-hqU

Setup Guide

Magic Mirror

Download the stable version of Node.js: https://nodejs.org/en/

Clone the latest MagicMirror code from: https://github.com/MichMich/MagicMirror

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 [email protected]:HackerHouseYT/AI-Smart-Mirror.git

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

AI

Make sure Ruby is installed: https://www.ruby-lang.org/en/documentation/installation/

Install Homebrew: http://brew.sh/

Navigate to the AI-Smart-Mirror folder

cd AI-Smart-Mirror

Install ffmpeg

brew install ffmpeg

Use setup.sh to create a virtual environment and install dependencies

sudo ./setup.sh

Activate the virual evironment

source hhsmartmirror/bin/activate

Replace wit.ai and darksky.net tokens in the bot.py file

Make sure MagicMirror is running, then start the AI

python bot.py

Setup Facial Recognition

Refer to this guide: https://www.learnopencv.com/install-opencv-3-on-yosemite-osx-10-10-x/

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
ls

Return to the tab with AI-Smart-Mirror

Deactivate the virtual environment

deactivate

Navigate to the site-packages folder in the virtual environment

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

Link the cv.py and cv2.so files and replace $VERSION with the version you found

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

Check that the files are there

ls

Return the the AI-Smart-Mirror directory

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

Reactivate the virtual evironment

source hhsmartmirror/bin/activate

Start the app

python bot.py

More Repositories

1

Smart-Mirror

Raspberry powered mirror which can display news, weather, calendar events
Python
907
star
2

Smart-Security-Camera

IoT security camera running open-cv for object detection 📹
Python
560
star
3

Tracking-Turret

A motion tracking turret.
Python
179
star
4

Smart-Bartender

🍻
Python
148
star
5

OpenAI-NEAT

NEAT Solver for OpenAI
Python
146
star
6

Autonomous-Follow-Me-Cooler

Cooler that follows you by navigating via GPS 🍹🌊⛱
C++
89
star
7

Smart-Doorbell

A wifi-connected raspberry pi doorbell with video chat
Python
87
star
8

Raspberry-Pi-VNC-Mac

How to Setup Raspberry Pi VNC Screensharing on a Mac
62
star
9

Smartphone-Doorlock

Doorlock that can be locked or unlocked through your smartphone
JavaScript
58
star
10

Automated-Gardener

Simple scheduler for a Raspberry Pi powered indoor gardener
Python
51
star
11

Holographic-Audio-Visualizer

JavaScript
28
star
12

Facebook-Newsbot

Raspberry Pi Powered Chatbot
JavaScript
21
star
13

Portable-Arcade

C
18
star
14

realtime-subscriber-counter

An LED Matrix that counts subscribers (and cryptocurrency prices) in realtime.
Python
15
star
15

midi-footswitch

MIDI footswitch for software instruments
C++
14
star
16

multi-stream-chatbot

Chatbot framework that listens and sends messages to multiple live-streaming platforms simultaneously
JavaScript
14
star
17

Animatable-LED-Hat

Battery operated, LED matrix hat that can be programmed to display interesting designs.
Arduino
9
star
18

Light-Rover

Light painting robot
Python
7
star
19

hackershack-livestream-chatbot

Code for the Hacker Shack livestream chatbot
JavaScript
6
star
20

Robotic-Bartender

Project files for our Arduino/Raspberry Pi powered robotic bartender
Arduino
6
star
21

HackerShackOfficial.github.io

Github pages site for Hacker Shack
HTML
2
star