Sign Language Translator
Communication through sign language is very important for people with hearing and speech impairments. However, many people do not understand sign language, making communication difficult. In this project, we build a Sign Language Translator using Quarky and PictoBlox with Artificial Intelligence (AI).
The AI model is trained to recognize hand gestures such as Like, Dislike, Point Finger (Ask Me a Question), Call Me, and Victory/Peace. When a user shows one of these gestures to the webcam, the system detects it in real time and displays the corresponding message on the screen.
This project is simple, interactive, and a great way to learn about AI, Machine Learning, and Computer Vision while creating a useful accessibility tool.
Downloads
Supplies
- Pictoblox Software: Download PictoBlox | Windows, MacOS, Linux, Chromebook, Android & iOS
- Laptop/PC
- Inbuilt or External Camera Setup
- Speaker or Headphones
- Quarky
Set Up the Hand Pose Classifier
Open PictoBlox and connect Quarky to your computer. Then, add the Hand Pose Classifier extension and turn on the webcam.
The Hand Pose Classifier detects your hand and allows you to create custom gesture classes. Create classes for the gestures you want to recognize, such as:
- 👍 Like
- 👎 Dislike
- 👉 Point Finger (Ask Me a Question)
- 🤙 Call Me
- ✌️ Victory/Peace
After setting up the Hand Pose Classifier, you are ready to collect training images for each gesture.
Set Up the Hand Pose Classifier
Now it's time to train the AI model to recognize your hand gestures.
For each gesture class (Like, Dislike, Point Finger, Call Me, and Victory/Peace), capture multiple images from different angles and hand positions. Make sure the lighting is good and your hand is clearly visible in the webcam.
After collecting enough samples for all the classes, click Train to create the AI model. Wait for the training process to finish, then test the model to check whether it correctly identifies each gesture.
Set Up Quarky
Now, connect Quarky to your computer using a USB cable and make sure it is detected in PictoBlox.
- Connect Quarky to your computer.
- Open PictoBlox and select the Quarky board.
- Click Connect and choose the correct COM port.
- Wait until the connection is successful.
- Run the program to allow Quarky to work with the Hand Pose Classifier.
Once Quarky is connected, it can respond to the detected hand gestures and execute the programmed actions in real time.
Create the PictoBlox Block Code
After training the Hand Pose Classifier, create the following block program in PictoBlox.
1. Start the Program
- Use the When Green Flag Clicked block to start the project.
- Turn on the webcam and set the video transparency to 0% so the camera feed is clearly visible.
- Display a welcome message such as "Hi! Welcome Lakshith" for 2 seconds.
- Make Quarky speak "Hi! Welcome Lakshmi".
- Show the neutral face emotion on the LED matrix.
2. Continuously Detect Hand Gestures
- Add a Forever loop.
- Inside the loop, use the Analyze Image from Webcam block so the AI continuously checks the hand gesture.
3. Detect the "Good Job 👍" Gesture
- Check if the identified class is Good Job.
- Display "Yeah! Good Job!" for 2 seconds.
- Make Quarky speak "Yeah! That's great! Good Job."
- Play the Good Detected sound.
- Show the Party Colors LED pattern.
4. Detect the "Dislike 👎" Gesture
- Check if the identified class is Dislike.
- Display "Oh! Sorry" for 2 seconds.
- Make Quarky speak "Oh! Sorry."
- Play the Woo Detected sound.
- Show the Happy LED emotion.
5. Detect the "Question 👉" Gesture
- Check if the identified class is Question.
- Display "Please ask my any question!" for 2 seconds.
- Make Quarky speak "Please ask my any question."
- Play the Bravo Detected sound.
- Show the Basic LED emotion.
6. Detect the "Peace ✌️" Gesture
- Check if the identified class is Peace.
- Display "Cool! Peace" for 2 seconds.
- Make Quarky speak "Cool! Peace."
- Play the Found sound.
- Show the Celebrations LED pattern.
7. Detect the "Call Me 🤙" Gesture
- Check if the identified class is Call Me.
- Display "Please call me" for 2 seconds.
- Make Quarky speak "Please call me."
- Play the Alive Detected sound.
- Show the Fear LED animation.
8. Repeat the Process
- Add a 1-second wait block.
- The Forever loop repeats continuously, allowing the AI to recognize hand gestures in real time and respond with text, speech, sounds, and Quarky's LED expressions.
Test the Sign Language Translator
Now it's time to test your project.
- Click the Green Flag to start the program.
- Stand in front of the webcam and make sure your hand is clearly visible.
- Show each trained gesture one by one:
- 👍 Good Job
- 👎 Dislike
- 👉 Question
- ✌️ Peace
- 🤙 Call Me
- Observe the output on the screen.
- Verify that Quarky:
- Detects the correct hand gesture.
- Displays the correct text message.
- Speaks the corresponding message.
- Plays the appropriate sound.
- Shows the correct LED animation or emotion.
If any gesture is not recognized correctly, collect more training images and retrain the Hand Pose Classifier to improve its accuracy.
Applications
Communication assistance
Smart classrooms
AI learning projects
Accessibility tools
Robotics demonstrations
STEM education
Conclusion
Congratulations! You have successfully built a Sign Language Translator using Quarky and PictoBlox. The system uses the Hand Pose Classifier to recognize hand gestures in real time and translates them into meaningful text. Quarky also responds with speech, sounds, and LED animations, making the project interactive and engaging.
This project demonstrates how Artificial Intelligence (AI) and Computer Vision can be used to improve communication and create accessible technology for everyone. It is an excellent beginner-friendly project for learning AI, Machine Learning, and robotics while solving a real-world problem.