Inspiration
The inspiration for Emotion Gauge stemmed from the desire to create a more empathetic interaction between technology and users. Recognizing the importance of emotional context in communication, we aimed to leverage speech recognition and emotional analysis to enhance user experience in various applications, such as mental health support, customer service, and interactive voice-based interfaces.
What it does
Emotion Gauge captures audio input through a microphone, analyzes the loudness of the speech, and determines the emotional tone of the spoken words. It uses Google Speech Recognition to transcribe the audio into text and the OpenAI API to infer the speaker's emotional state, categorizing it into positive or negative emotions, such as happiness or sadness.
How we built it
The project was developed using Python, integrating libraries like SpeechRecognition for capturing and transcribing audio and requests for interacting with the OpenAI API. The code employs RMS (Root Mean Square) calculations to measure audio loudness and provides real-time feedback to users through countdown prompts and emotional analysis results.
Challenges we ran into
We faced several challenges, including ensuring accurate speech recognition in noisy environments, calibrating the neutral loudness level effectively, and managing API rate limits during high-frequency requests. Additionally, we had to fine-tune the emotional inference model to ensure reliable outputs based on varying speech dynamics.
Accomplishments that we're proud of
We are proud of successfully creating a functional prototype that integrates multiple technologies to analyze and interpret human emotions through speech.
What we learned
Throughout the development process, we learned valuable lessons about the complexities of audio processing and the importance of user-centered design. We gained insights into how subtle variations in speech can convey different emotions and how to handle real-time audio input effectively.
What's next for Emotion Gauge
Next, we plan to enhance Emotion Gauge by improving its accuracy in various acoustic environments and expanding its emotional analysis capabilities to include more nuanced emotional categories. We also aim to develop a mobile application version to increase accessibility and explore partnerships with mental health organizations to apply our technology in supportive contexts.
Log in or sign up for Devpost to join the conversation.