-
-
Hand gesture recognition using keypoint detection to identify signs and convert them into meaningful text.
-
Live sign detection demonstrating the system's ability to recognize hand gestures through a webcam.
-
Real-time hand landmark detection using Media Pipe to identify sign language gestures accurately.
-
Finger movement tracking and hand landmark recognition for sign language gesture identification.
-
Recognizing combined hand gestures using real-time landmark tracking for sign language communication
-
Detecting individual finger positions to improve real-time sign language recognition.
-
entifying hand shapes and finger positions to classify different sign language gestures.
-
Real-time video calling with integrated sign language communication, enabling deaf and hearing users to interact.
About the Project: Miss Voice What Inspired Us Communication is the cornerstone of human connection, yet millions of individuals with speech and hearing impairments face daily barriers when interacting with people who do not understand sign language. Watching how easily routine conversations, classroom discussions, and emergency situations become frustrating or isolating for the deaf and hard-of-hearing community sparked the idea for Miss Voice.
We wanted to move beyond one-way translation tools and build a seamless, bidirectional bridge—a platform where sign language gestures are translated into natural spoken and written language in real time, and spoken words are simultaneously converted back into readable text and visual sign cues. Our goal was to make digital and face-to-face communication effortless, inclusive, and dignified.
How We Built It We designed Miss Voice as a real-time, low-latency bidirectional translation and video communication system combining computer vision, natural language processing, and live media streaming:
Real-Time Sign Language Recognition (Computer Vision):
We trained custom object and pose-detection pipelines using Ultralytics YOLOv8 and MediaPipe to track hand landmarks, finger orientations, and upper-body posture across both Indian Sign Language (ISL) and American Sign Language (ASL).
Raw keypoint sequences are normalized relative to the signer's shoulder width and torso center to remain invariant to camera distance and framing.
Context-Aware Sentence Refinement (NLP):
Sign language grammar differs significantly from spoken English. Raw gloss sequences detected by the vision model (e.g., "YESTERDAY MARKET I GO") are passed through the Gemini API to reconstruct grammatically fluent, contextually accurate sentences ("I went to the market yesterday").
Bidirectional Voice & Video Pipeline:
Sign-to-Speech: Refined text is synthesized into natural-sounding audio using low-latency Text-to-Speech (TTS).
Speech-to-Sign / Text: Incoming audio from the non-signing participant is transcribed in real time via Speech-to-Text (STT) and displayed as live captions alongside visual sign references.
Live Communication: Integrated WebRTC for peer-to-peer, low-latency video calling with overlaid live translation captions.
Frontend & Backend Architecture:
Built a responsive web and mobile-friendly interface paired with a Python (FastAPI) backend to handle asynchronous frame inference, WebSocket signaling, and API orchestration.
Challenges We Faced Lighting, Background Clutter, and Motion Blur: Fast hand movements often caused motion blur and misclassifications under uneven indoor lighting. We overcame this by augmenting our training dataset with varied brightness levels, motion-blurred frames, and diverse backgrounds, while applying temporal smoothing across consecutive frames.
Minimizing End-to-End Latency: Running computer vision inference, LLM sentence refinement, and audio synthesis sequentially initially introduced noticeable lag. To keep live conversations natural, we enforced a strict latency budget:
𝑇
total
𝑇 capture + 𝑇 inference + 𝑇 NLP + 𝑇 TTS ≤ 450 ms T total =T capture +T inference +T NLP +T TTS ≤450 ms We achieved this by decoupling frame inference onto asynchronous worker threads, streaming partial gloss tokens, and caching common conversational phrases.
Distinguishing Visually Similar Signs: Certain ISL and ASL signs share nearly identical hand shapes and differ only in subtle finger angles or movement trajectories. Combining spatial bounding-box confidence with joint-angle vector calculations significantly improved disambiguation:
𝜃
arccos ( 𝑢 ⋅ 𝑣 ∥ 𝑢 ∥ ∥ 𝑣 ∥ ) θ=arccos( ∥u∥∥v∥ u⋅v ) where 𝑢 u and 𝑣 v represent adjacent phalangeal bone vectors extracted from hand landmarks.
What We Learned Designing for Real-World Edge Cases: A model with high validation accuracy in controlled lab conditions can struggle in real-world environments. Robust preprocessing, frame stabilization, and confidence thresholding are just as critical as the neural network architecture itself.
System-Level Optimization: Combining deep learning models with generative AI APIs and WebRTC requires careful asynchronous engineering to prevent bottlenecks and dropped frames.
Empathy-Driven Engineering: Building assistive technology taught us that UI simplicity, clear visual feedback, and customizable playback speed matter deeply to end users—turning a technical prototype into a practical, human-centered tool.
Built With
- accessibility
- computer-vision
- css3
- deep-learning
- fastapi
- gemini-api
- google-gemini
- html5
- javascript
- machine-learning
- mediapipe
- natural-language-processing
- opencv
- python
- pytorch
- sign-language
- speech-to-text
- tensorflow
- text-to-speech
- ultralytics
- webrtc
- websockets
- yolov8