![]() Pointing at this phrase, it would turn into “resize on”, and the selfies could be zoomed in and out controlled by gestures. What’s more, the word “resize off” would show up in this mode. In this mode, swipe gestures were still used to preview the next or the previous selfie. Pointing at the selfie preview, the mirror would enter the photo album mode. By pressing a GPIO button, a selfie would be taken and saved and a preview of the selfie would display at the corner of the mirror. With swipe gestures above the mirror are detected, different image effect filters, like cartoon, emboss, sketch, would be applied. Keep pointing to the left corner would enter the camera mode. The deleted information can come back if another wave gesture is detected. The information is divided into three parts, wave hands above the certain information can delete it from the mirror. In the software part, a homepage was designed to send greetings and basic date, temperature and humidity information when user wave hand in front of the mirror. What’s more, a PiCamera was connected to the RPi3 to take selfies. A Humidity & Temperature sensor was used to get current humidity and temperature. ![]() Instead of connecting directly to the RPi3, four 8-to-3 priority encoders and two 74LS00N NAND gate chips were used to convert the signal from sensors into two numbers indicating the position of user’s hand. A square wooden frame was built to surround the mirror, and 22 IR beam break sensors were screwed into the frame to detect gestures above the mirror to switch functions and filters. ![]() ![]() In the hardware part, a sheet of see-through mirror was used as the basic mirror to be looked at and a monitor was put behind the mirror to display the information, preview the camera and see the selfies taken before. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |