Inspiration
Mental health is a crucial part of our well-being, yet many people struggle in silence due to stigma, lack of access, or overwhelming emotions. As a high school student passionate about AI and its power to create positive change, I wanted to build something that could provide a safe space for people to express their feelings and feel heard—literally. That's how this emotional AI companion idea was born.
What I Built I created a voice-enabled AI mental health companion that listens to users, detects their emotions from speech, and responds empathetically via text. The app allows users to:
Record their voice
Detect emotional tone using AI emotion recognition
Receive personalized, supportive responses from a chatbot
Track moods and sentiments over time
The tech stack includes:
Python + Flask for the backend
JavaScript/HTML/CSS for the frontend
OpenAI + emotion detection models for intelligent and emotional response
Speech recognition and audio processing for voice inputs
What I Learned Integrating audio-based emotion detection into a real-time system
Designing a simple but meaningful user experience for emotional interaction
Using Flask to handle asynchronous voice input and API calls
Handling user input with care, especially in sensitive contexts like mental health
Challenges I Faced Emotion detection via voice can be noisy and unreliable without proper pre-processing
Building a chatbot that responds empathetically and doesn't feel robotic
Combining multiple technologies (voice, emotion AI, chatbot logic, frontend/backend) into a cohesive and deployable experience
Ensuring the app remains safe, respectful, and helpful
Outcome This project isn't just a technical build—it's a step toward more emotionally intelligent technology. I hope it encourages others to explore how AI can support mental well-being, especially in ways that are accessible and non-judgmental.

Log in or sign up for Devpost to join the conversation.