Skip to content

Ankan-7/Sign-Language-Translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sign Language Translator

A real-time sign language recognition system that converts hand gestures into text and speech using computer vision and machine learning.

Overview

This project focuses on improving accessibility by enabling basic communication through sign language recognition. It captures hand gestures using a webcam, processes them using MediaPipe, and predicts corresponding characters using a trained machine learning model.

The system is designed to work in real time and supports continuous sentence formation along with speech output.

Project Vision

This project aims to bridge the communication gap between individuals using sign language and those unfamiliar with it.

By integrating real-time gesture recognition with speech output, the system enables more natural and accessible interaction, with potential applications and a raw idea in assistive technology for the hearing and speech impaired.

Dataset

The dataset used in this project was created manually by capturing hand gesture samples using a webcam.

  • Custom dataset built for multiple hand gestures
  • Landmark data extracted using MediaPipe
  • Data stored and organized for training the ML model

This approach allowed better control over the data and helped in understanding how data quality affects model performance.

Features

  • Real-time hand gesture recognition
  • Text generation from sign language
  • Word suggestion system
  • Text-to-speech output
  • Two-hand gesture commands (space, clear, delete, speak)

Tech Stack

Python
OpenCV
MediaPipe
Scikit-learn
NumPy
pyttsx3

Project Structure

dataset/       → Gesture datasets  
src/           → Source code  
model/         → Trained ML model  
predict_sign.py → Main application  

System Workflow

  1. MediaPipe extracts hand landmarks from webcam input
  2. Landmark data is processed and passed to a trained ML model
  3. The model predicts the corresponding character
  4. Characters are combined to form words and sentences
  5. A simple suggestion system assists in completing words
  6. Final text can be converted into speech output

How to Run

Install dependencies:

pip install -r requirements.txt

Run the program:

python src/predict_sign.py

Example Commands

SPACE → Separate words
CLEAR → Clear sentence
DELETE → Remove last letter
SPEAK → Convert sentence to speech

Future Improvements

  • Limited gesture vocabulary (not full A–Z)

  • Performance depends on lighting and hand visibility

  • Future improvements:

    • Expand gesture dataset
    • Improve model accuracy
    • Integrate deep learning models
    • Build a GUI for better usability

Demo

Full System Demo

Real-time gesture recognition, text formation, and command execution:


System Snapshot

Example frame from the system:

Demo

About

Real-time Sign Language Translator using MediaPipe, OpenCV, and Machine Learning. Converts hand gestures into text and speech.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages