top of page

Project

Documentation

UI Example of Output- Sad

ChatGPT Image Apr 21, 2025, 12_15_18 AM.png

UI Example of Output- Happy

ChatGPT Image Apr 21, 2025, 12_13_20 AM.png

Physical Build Plan

Screenshot 2025-04-20 at 11.50_edited.jp

Electronic Build Plan

4a055670-79aa-4e5a-9ec7-42de67ecaa14.png
Screenshot 2025-06-02 at 10.56.42 AM.png
Screenshot 2025-06-02 at 11.14.21 AM.png
OpenAI testing
Screenshot 2025-06-02 at 11.14.01 AM.png
Mediapipe Testing
Emotional Classifier
Screenshot 2025-06-02 at 11.14.13 AM.png
Speech Testing
Screenshot 2025-06-02 at 11.17.32 AM.png
Arduino Code classifying emotions as colors for the python script to send over an emotion to change led color
IMG_CB8528890AD1-1.jpeg
Lighting test after keyword "sad"
IMG_5689.JPG
Arduino Build
Screenshot 2025-06-02 at 10.57.25 AM.png

Testing

As of 6/1/25 the face tracking feature freezes the live feed after a face is detected and the gpt conversation starts lagging.

Screenshot 2025-06-02 at 10.56.00 AM.png
Screenshot 2025-07-22 at 8.30.42 AM.png
Screenshot 2025-07-22 at 8.31.08 AM.png
GUI of the Mirror text
Screenshot 2025-07-22 at 8.39.41 AM.png
Adding Date and Time to GUI
IMG_6208.jpg
IMG_6209.jpg
One way Mirror Acrylic Panel
Screenshot 2025-07-22 at 11.11.51 AM.png
Monitor setup behind mirror

Materials

Needed

Hardware Requirements

  • Two-Way Acrylic Mirror Panel (18"x24") - For a reflective surface that allows screen light to pass through

  • Display Monitor (HD or higher) - For minimal UI text and output overlays behind the mirror

  • Raspberry Pi 4 - Runs AI scripts, processes webcam input, and controls LED 

  • USB Webcam - Mounted above or below the mirror to capture facial expressions

  • Microphone + Speaker Combo - For real-time speech input and AI-generated audio output

  • Individually Addressable RGB LED Strip - Mounted on the back of the mirror for ambient emotional lighting

  • Power Supply and USB Hubs - To support the raspberry pi and LED strips

 

Software & Platform Requirements 

  • Mediapipe (OpenCV Python Library) - For basic face and expression recognition

  • PYt2s (Text-to-Speech Library)- For AI voice responses

  • ChatGPT (OpenAI API) - For generating personalized responses based on input

  • SpeechRecognition (Python Library) - For capturing user voice queries

  • rpi_ws281x (LED control library) - For driving mood-based lighting based on sentiment analysis

bottom of page