Magic Mirror with a stylist by Techblogogy



  • Hello everyone.
    I’ve been following magic mirror projects and wanted to build one myself for quite some time. This past summer I decided to make my own version of this mirror. I had couple of my friends help me do it.

    0_1478457042123_IMG_4999.JPG

    0_1478457664293_IMG_5109.jpg

    Software and features


    Here’s what makes our mirror little different:

    • Helps you pick clothes
    • Can record videos
    • Voice controlled
    • or Smartphone controled
    • custom software, developed slowly over couple of months

    Virtual Wardrobe

    We wanted to improve software a little bit and introduce unique features. One such feature is a stylist, or a virtual wardrobe to be exact. Using build in raspberry pi camera you can photograph yourself and create a database of your looks. Each item has a dress code assigned to it automatically (casual, business-casual, sportswear etc.), that dress code is later used to recommend you clothes, based on it and weather outside. When you add an item, you can also record live view of yourself. You turn around the mirror capturing full 360 of the outfit. Later you can play it back, sort of like Harry Potter image. You can also assign custom tags to clothes and search thought them.

    0_1478459235301_IMG_5112.JPG

    0_1478459302085_IMG_5087.JPG

    The Build


    Materials used:

    • One way mirror (6mm) thick
    • 8mm plywood
    • 20" Samsung 2032MW (16:10 aspect ration, 1680x1050 resolution)
    • LED strips and driver (To upgrade CFL blacklight in the LCD)
    • Raspberry PI
    • Pi Camera
    • USB microphone

    Tools Used:

    • CNC machine (Carver)
    • 3D Printer (Utimaker)
    • Laser cutter
    • Drill/Screwdriver - the usual stuff

    The build seemed easy enough, but we did stumble on some challenges.
    First I’ve dissembled the monitor. On the right we can seen the mirror with monitor and to the left LCD controller.

    0_1478453456789_YnsaJMyf-wU.jpg

    After this dry fit we’ve realized that our monitor is a) not bright enough; b) light transmission of mirror was a bit low; Naturally we’ve decided to swap out old burned out CCFL backlight for a more powerful LED one. I’ve torn down LCD assembly, tried multiple LED variations, util found one that suited me. Using some duct tape I’ve secured LED strips in place and put everything back together. Sadly didn’t photograph the whole process.

    0_1478454567344_6F-UFt3Ysbs.jpg

    0_1478456233622_AbCi1L6xUEM.jpg

    Next we’ve moved on to making the case. I’ve used a CNC machine to cut 3mm grooves in 8mm plywood and then stuck them together using angle brackets. Adding a little duct tape to secure everything in place ghetto-mirror-1 was born! (Sadly, that’s the best photo we’ve had)

    0_1478455173613_unspecified-5_crop.jpg

    Time to make it thinner. I striped away metal casing and next big challenge came in. This monitor has an awful HDMI connection, so we had to use DVI to HDMI adapter. To make things worse DVI connector is not right angled, that means very thick unit. Me feeling extra brave, went ahead and tried to solder HDMI cable directly to the dvi connector pads. For some odd reason that did not work, so I tried to re-solder dvi connector itself to be right angle. To my surprise this thing works perfectly. Thats how ghetto-mirror-2 came into life.

    0_1478456340192_Photo on 8-2-16 at 6.17 PM.jpg

    0_1478455957665_tumblr_inline_oeqqdonfiQ1sm0epr_500.jpg

    Next thing on the agenda was more prettying up. We went ahead 3d printed custom raspberry holder, case for pi camera, hot glued required boards for the monitor in place, added in power supply, secured in the monitor with best in town technology (duct tape). This mess of cables would definitely pass all of the required safety tests)

    0_1478457327601_IMG_4091.JPG

    And then I had to disassemble everything, cover it in wood varnish and put it back together again. As a bonus we’ve engraved back the of the case. That was fun :)

    0_1478458084468_8nYodRzla9A.jpg

    0_1478458368111_mnIDahlW0_g.jpg

    0_1478458092834_mlfor1XzYKc.jpg

    We later on replaced that ugly grey case with much smaller one and covered it in soft touch paint. That’s pretty much how we build it.

    0_1478460526939_nbXm0jLLIhc.jpg

    Links


    Closing word


    We would definitely like to improve the product, so feel free to commend on what you think. Thanks for reading!



  • @Techblogogy very nice work! Would be better though if you unbundled your modules and put them in the module list.



  • @Techblogogy Hi, i am very much interested in this project , i installed the software successfully, when i entered mirror in the terminal, i get below error and also could not find config.cfg in the path mentioned in your github /.local/share/mirror_server/config.cfg

    i am using pi 3 with Jessie updated with Pixel

    0_1481534385089_raspi.jpg

    Thanks
    Shashank


Log in to reply
 

Looks like your connection to MagicMirror Forum was lost, please wait while we try to reconnect.