Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Silent Speech Translator

Real-Time Sign Language to Speech Conversion

Because communication shouldn’t need a Poké Flute.


Problem Statement

People using sign language or gestures face communication barriers with non-signers. This project bridges that gap by translating hand gestures into real-time spoken language, enabling inclusive and accessible communication.


Project Goal

  • Classify hand gestures from images
  • Convert predicted gestures into text
  • Speak the text aloud using Text-to-Speech

System Pipeline

Input Image / Frame ↓ CNN Gesture Classifier (PyTorch) ↓ Predicted Gesture Label ↓ Text-to-Speech (pyttsx3) ↓ Audio Output


Tech Stack

  • Language: Python 3.10 / 3.11
  • Deep Learning: PyTorch
  • Dataset: ASL Alphabet Dataset
  • Image Processing: torchvision, OpenCV
  • Text-to-Speech: pyttsx3

Dataset

Dataset link:
https://www.kaggle.com/datasets/grassknoted/asl-alphabet

Create Virtual Environment python -m venv venv venv\Scripts\activate # Windows

Install Dependencies

pip install --upgrade pip pip install torch torchvision numpy opencv-python pyttsx3

Python 3.14 is NOT supported. Use Python 3.10 or 3.11.

Training the Model python train.py

Loads ASL dataset using ImageFolder

Applies data augmentation

Trains CNN classifier

Saves trained model (model.pth)

Gesture Prediction + Speech python infer.py

Loads trained model

Predicts gesture label

Converts prediction into speech using pyttsx3

Text-to-Speech

Offline TTS

Low latency

Platform independent

Results

High accuracy on static ASL images

Real-time text and audio output

Performance depends on lighting and background

Limitations

Static gestures only

No continuous sentence recognition

Sensitive to background noise and lighting

Future Scope

Real-time webcam gesture detection

MediaPipe hand landmark integration

Continuous sign language recognition

Transformer-based gesture modeling

Multilingual speech output

About

Hand Gesture ML model using CNN based gesture detection and pyttsx3 for text to speech

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages