We were able to detect whether a person was holding up a single finger, or not, reliably. Our gesture recognition is done in Python using OpenCV. We control the UI using gestures and buttons. Below this, we use the helloworld module to display the text "spider! man!" is our Spiderman themed page! We again display the clock and page indicator.Ĭovering the screen is a spider web image, which we display using the MMM-ImagesPhotos module. In the top right, we display a top post from Reddit, and in the bottom left, we display a random Bob Ross painting. In page 3, we again have our clock, and page indicator. The bottom middle of the page displays a random fact from wikipedia, and below this, we again have our page indicator. In the center of our page, we have our compliments module which cycles throughĪ series of different phrases and compliments, including "Hi!!!" and "You look great!". Right below this, we have our calendar module displaying upcoming holidays, Christmas is coming up!! In every page, we have the clock module again in the top left corner. In our video at the bottom, we show the mirror over the monitor. We show all the pages without the mirror over the monitor so that the modules are most visible. The page indicator is at the bottom, the first circle filled in indicates that we are on the first page. In the first page, we have the clock module in the top left corner, the current weather and weather forecast in the top right corner, and the newsfeed in the bottom middle. We changed the config file to add all these modules in, and our different pages of the mirror looked like this: MMM-Pages, a module that allowed us to have different pages/levels of our MagicMirror MMM-page-indicator, a module that displayed which page we were on MMM-wiki, a module that displayed a random wikipedia fact MMM-ModuleToggleButton, a module that displays/hides a module when a hardware button is pressed, we used this module to control We installed the following additional modules: MMM-BobRoss, a module that displays a random Bob Ross painting MMM-ImagesPhotos, a module that displays an image of our choice. The modules are each written in Javascript, and then when the module name is added to the config file, it shows up in the UI.Īfter trying out different modules, and seeing what looked good on our mirror, we decided to explore third party modules written for the Magic Mirror. The MagicMirror platform started with the following default modules:Ĭlock, calendar, current weather, weather forecast, news feed, compliments, hello world, and alerts. The app wrapper around MagicMirror is Electron, and you start your modules using the command "npm start". The download process for the Magic Mirror platform is supposed to be simple, but caused us a lot of errors. The Magic Mirror platform from Github would be more elegant and give us more options. Our other option would be to create the UI ourselves using Pygame, but we decided that We decided to start with an open source Magic Mirror platform on Github.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |