Skip to content

bforce541/signsync

Repository files navigation

SignSync

AI-Powered American Sign Language (ASL) Translator

SignSync is an AI-driven ASL-to-text web application that bridges the communication gap between the Deaf and hearing communities.
Built using deep learning and modern web technologies, it recognizes real-time ASL gestures and translates them into English text through an accessible, responsive interface.


Features

  • Real-Time Translation: Converts ASL hand gestures to English text using a trained Convolutional Neural Network (CNN).
  • High Accuracy: Model trained on 80K+ labeled ASL images with over 95% recognition accuracy.
  • Accessible Design: Clean, modern UI built with React + TailwindCSS for seamless interaction.
  • Scalable Backend: Flask API deployed on AWS, integrating TensorFlow model inference and REST endpoints.
  • Cross-Device Support: Works smoothly across desktop and mobile browsers.

Tech Stack

Frontend: React, TailwindCSS
Backend: Flask (Python), TensorFlow, scikit-learn
Deployment: AWS EC2, S3
Languages: Python, JavaScript, HTML, CSS
Version Control: Git + GitHub


Model Overview

The AI model leverages transfer learning with architectures such as ResNet50, VGG16, and InceptionV3 to balance real-time inference speed and accuracy.
It was trained on a custom dataset of over 80,000 ASL gesture images, processed with OpenCV and NumPy.
Evaluation achieved a validation accuracy of 95%+ with strong generalization across lighting and background conditions.


Setup Instructions for Local Device

Prerequisites

  • Python 3.8+
  • Node.js 16+
  • npm or yarn
  • TensorFlow and Flask installed locally

Backend

python3 -m venv .venv
source .venv/bin/activate
pip install -r backend/requirements.txt
cd backend
SOCKETIO_ASYNC_MODE=threading ../.venv/bin/python app.py

The backend runs on http://localhost:8080 and exposes:

  • GET /api/health
  • GET /api/model-info
  • POST /api/predict
  • Socket.IO event: analyze_frame

Frontend

npm install
npm start

The React app runs on http://localhost:3000 by default. To point the frontend at another backend host, set:

REACT_APP_API_BASE_URL=http://localhost:8080

Production Build

npm run build

Training Pipeline

The repository now includes a configurable transfer-learning training flow under backend/training/ with support for:

  • resnet50
  • vgg16
  • inceptionv3
  • mobilenetv2

Example training command:

.venv/bin/python backend/training/train.py \
  --data-dir /path/to/asl_dataset \
  --backbone resnet50 \
  --epochs 12

Example evaluation command:

.venv/bin/python backend/training/evaluate.py \
  --model-path backend/model/exports/resnet50_best.keras \
  --data-dir /path/to/asl_dataset/test \
  --labels-path backend/model/exports/labels.json

About

American Sign Language (ASL) translator built with deep learning + computer vision. Converts real-time hand gestures to text using a CNN trained on 80K+ labeled images (~95%+ accuracy). Features a Flask + React web app, AWS deployment, and an interactive UI for live translation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors