Skip to content

sachin1437/SignBridge-AI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

9 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

🀟 SignBridge

Real-Time Indian Sign Language Recognition for Assistive Communication

Python TensorFlow MediaPipe License Accuracy


A software-only, privacy-preserving ISL recognition framework that bridges the communication gap for 63 million hearing-impaired Indians.


πŸ“Œ Table of Contents


🧠 Overview

SignBridge is a real-time Indian Sign Language (ISL) recognition system built for assistive human–computer interaction. It uses MediaPipe Holistic for skeletal landmark extraction and a Bidirectional LSTM network for temporal gesture classification, followed by offline text-to-speech output.

Unlike most SLR systems that rely on expensive hardware or raw video processing, SignBridge:

  • Works entirely on a standard RGB webcam
  • Discards raw video β€” processes only 258-dimensional skeletal vectors
  • Runs in real-time on a laptop CPU without GPU support
  • Produces spoken output via offline TTS engine

This makes it privacy-preserving, hardware-light, and deployable in real-world assistive scenarios β€” hospitals, schools, and public services.


✨ Features

Feature Details
πŸŽ₯ Webcam-only No depth sensors, gloves, or special hardware
πŸ”’ Privacy-preserving Raw video never stored; only landmarks processed
⚑ Real-time 24+ FPS inference on standard laptop
πŸ”‡ Offline TTS Works without internet via pyttsx3
🧠 BiLSTM Captures temporal motion dynamics
πŸ“Š High accuracy 90.6% test accuracy across 19 classes
πŸ” Augmented training 8Γ— dataset expansion via landmark augmentation
πŸ›‘οΈ Robust inference Temporal voting + confidence gating

πŸ—οΈ System Architecture

πŸ“· Webcam Input (720p @ 30 FPS)
         β”‚
         β–Ό
🦴 MediaPipe Holistic
   β€’ 21 hand landmarks (Γ—2)
   β€’ 33 pose landmarks
   β†’ 258-dim feature vector per frame
         β”‚
         β–Ό
πŸ“¦ Sequence Buffer (30 frames)
         β”‚
         β–Ό
🧠 BiLSTM Classifier (808K params)
   β€’ 2Γ— Bidirectional LSTM (128 units)
   β€’ Dropout (0.3) + Dense layers
         β”‚
         β–Ό
🎯 Confidence Gate (Ο„ = 0.7)
         β”‚
         β–Ό
πŸ—³οΈ Temporal Voting Buffer (5 frames)
         β”‚
         β–Ό
πŸ”Š Text-to-Speech Output (pyttsx3)

πŸ€™ Gesture Classes (19)

Category Gestures
πŸ‘‹ Greetings Hello Greetings
😊 Emotions Happy Hurts I_Love_You I_Hate_You Perfect
🫡 Commands Sit Stand_Up Stop Call_me
πŸ—£οΈ Social Me You Yes No Please Help Ok
⏸️ System No_Gesture

βš™οΈ Installation

# Clone the repository
git clone https://github.com/sachin1437/SignBridgeAI
cd SignBridgeAI

# Install dependencies
pip install -r requirements.txt

Requirements

tensorflow>=2.10
mediapipe==0.10
opencv-python
numpy
pyttsx3
scikit-learn
matplotlib
seaborn

πŸš€ Usage

Run Real-Time Inference

python app.py

Collect Dataset

python collect_data.py --class_name Hello --num_samples 200

Train Model

python train.py

Evaluate Model

python evaluate.py

Controls during inference:

  • Q β€” Quit
  • S β€” Save current frame to dataset

πŸ“‚ Dataset

Custom ISL dataset recorded with a standard 720p RGB webcam across multiple signers and lighting conditions.

Parameter Value
Gesture classes 19
Raw clips per class 200
Total raw clips 3,800
Frames per sequence 30
Feature dimensions 258
Augmentation factor ~8Γ—
Train / Val / Test 70% / 15% / 15%
Recording FPS 30
Resolution 1280 Γ— 720

Data Augmentation Strategy

Technique Description
Gaussian Jitter Noise injection (Οƒ=0.01) to simulate MediaPipe estimation noise
Horizontal Flip Mirror landmarks to synthesize left-handed signers
Temporal Speed Warp Random resampling at 0.8×–1.2Γ— to simulate signing speed variation
Spatial Scaling Uniform scaling 0.9×–1.1Γ— around centroid

πŸ“Š Model Performance

Comparative Results

Model Accuracy Macro-F1 Params
MLP (baseline) 81.2% 0.798 1.05M
LSTM (unidirectional) 87.4% 0.866 0.42M
BiLSTM (proposed) 90.6% 0.901 0.81M

Per-Class Highlights

βœ… Perfect recall (100%): Call_me I_Hate_You I_Love_You Me Perfect You

⚠️ Challenging classes: Help (60.6%) Ok (68.2%) Yes (71.8%) β€” confused due to similar closed-fist configurations


πŸ—‚οΈ Project Structure

SignBridgeAI/
β”œβ”€β”€ app.py                    # Real-time inference entry point
β”œβ”€β”€ train.py                  # Model training script
β”œβ”€β”€ evaluate.py               # Evaluation and metrics
β”œβ”€β”€ collect_data.py           # Dataset collection script
β”œβ”€β”€ requirements.txt
β”‚
β”œβ”€β”€ model/
β”‚   β”œβ”€β”€ bilstm_model.h5       # Trained BiLSTM model
β”‚   └── label_encoder.npy     # Class label encoder
β”‚
β”œβ”€β”€ dataset/
β”‚   └── all_images/           # Collected gesture sequences
β”‚       β”œβ”€β”€ Hello/
β”‚       β”œβ”€β”€ Help/
β”‚       └── ...
β”‚
β”œβ”€β”€ utils/
β”‚   β”œβ”€β”€ landmark_utils.py     # MediaPipe extraction + normalization
β”‚   β”œβ”€β”€ augmentation.py       # Landmark-level augmentation
β”‚   └── tts_utils.py          # TTS output handler
β”‚
β”œβ”€β”€ results/
β”‚   β”œβ”€β”€ confusion_matrix.png
β”‚   └── training_history.png
β”‚
└── assets/
    └── banner.png

πŸ› οΈ Tech Stack

Layer Technology
Language Python 3.10
Deep Learning TensorFlow 2.x / Keras
Pose Estimation MediaPipe Holistic 0.10
Video Capture OpenCV 4.x
Text-to-Speech pyttsx3 (offline)
Data Processing NumPy / scikit-learn
Visualization Matplotlib / Seaborn

πŸ“„ Research Paper

SignBridge: A Real-Time Visual Computing Framework for Indian Sign Language Recognition Using MediaPipe Holistic and Bidirectional LSTM for Assistive Human–Computer Interaction

Sachin Gupta, Devendar Kumar School of Computer Applications, Lovely Professional University, Jalandhar, Punjab, India

πŸ“Œ Submitted to Visual Computing for Industry, Biomedicine, and Art (VCIBA), Springer Nature

πŸ§ͺ Plagiarism Score: 5% (Grade A) β€” DrillBit


πŸ‘¨β€πŸ’» Authors

Sachin Gupta MCA Student, School of Computer Applications, LPU
GitHub @sachin1437
LinkedIn sachin-gupta1420
Email sachingupta1437@gmail.com
Devendar Kumar Assistant Professor, School of Computer Applications, LPU
Email devender.kumar2k7@gmail.com

🏒 About

SignBridge is a product of NetraaLabs β€” building AI-powered visual intelligence systems for real-world impact.


πŸ“œ License

This project is licensed under the Apache 2.0 License β€” see LICENSE for details.


πŸ™ Acknowledgments

  • School of Computer Applications, Lovely Professional University for institutional support
  • All volunteers who contributed gesture recordings to the dataset
  • Google MediaPipe team for the open-source pose estimation framework

Made with ❀️ for the deaf and hard-of-hearing community

⭐ Star this repo if you find it useful!

About

A recognition system for ISL (Indian Sign Language)

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors