HandTalk
A real-time Sign Language Detector integrated into video calls, enabling seamless communication for non-verbal users using deep learning, WebRTC, and AI-powered hand gesture recognition.
Created on 23rd February 2025
•
HandTalk
A real-time Sign Language Detector integrated into video calls, enabling seamless communication for non-verbal users using deep learning, WebRTC, and AI-powered hand gesture recognition.
The problem HandTalk solves
The problem HandTalk solves is the communication barrier between hearing-impaired individuals and non-signers in video calls. Traditional video communication platforms do not offer built-in sign language interpretation, making it difficult for deaf and hard-of-hearing users to effectively communicate with others.
HandTalk integrates real-time ASL detection into video calls, enabling automatic recognition and translation of sign language gestures into text. This allows seamless, accessible, and inclusive communication without the need for a human interpreter. Additionally, it provides a self-testing and learning feature, helping users improve their ASL skills.
Challenges we ran into
Challenges We Ran Into
1. Model Training Approach
We initially explored multiple approaches for training our model. First, we attempted building a custom model but faced challenges in tuning parameters effectively. Seeking guidance from seniors and faculty, we were advised to use a pre-trained model.
We experimented with MobileNet and a model from the Hugging Face library. However, the Hugging Face model had version compatibility issues, with some layers unsupported in our Python version. Consequently, we chose to fine-tune MobileNet. We created a dataset using MediaPipe, extracting only hand frames on a white background. We unfroze the last layers and added a dense layer with 29 classes. The final model contained 2,627,677 parameters.
2. Handling Similar Characters
A major challenge was differentiating similar ASL characters:
- Group 1: A, M, N, S, T, E
- Group 2: W, F
- Group 3: U, V, R
Since these characters have minor variations, we ensured the model could distinguish them accurately. We added specific features per class. For example:
- In R, fingers are crossed, whereas in U, fingers are straight.
- In A, the thumb is at the side of the palm, whereas in S, it is over the fingers.
We incorporated additional images and specific stitching techniques, highlighting key features for better accuracy.
3. WebRTC Integration
Integrating our model with WebRTC for real-time video calls was another challenge.
- We captured frames periodically using Node.js from both local and remote WebRTC streams.
- After converting images to string format, we passed them to Python,
- where MediaPipe detected the hand and extracted the frame.
- The processed hand frame was then passed to the model for prediction.
The predicted label, along with probability values, was sent back to React, where it was displayed in the chatbox and transmitted via WebSocket to the receiver.
