Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Sign Language Gesture Classifier

A deep learning project that classifies American Sign Language (ASL) gestures from images using a trained ResNet model. This project demonstrates image classification, transfer learning, and interactive inference using FastAI and Gradio.

Project Overview

This project aims to help in recognizing ASL gestures to facilitate communication between hearing and non-hearing individuals. Key features:

  • Classifies 26 ASL alphabet gestures
  • Trained on a custom ASL dataset
  • Supports image input for real-time predictions
  • Easy-to-use Gradio interface for demonstration

Technologies Used

Project Structure

SignLanguageClassifier/
│
├── export2.pkl            # Trained model weights (large file, download separately)
├── SignLanguage.ipynb    # Jupyter notebook with training & inference code
├── README.md             # Project description
└── requirements.txt      # Python dependencies

Setup Instructions

  1. Clone the repository
git clone https://github.com/your-username/SignLanguageClassifier.git
cd SignLanguageClassifier
  1. Install dependencies
pip install -r requirements.txt
  1. Download the trained model
  • Model file (export2.pkl) is hosted on Hugging Face
  • Save it in the project directory.
  1. Run inference
  • Open the notebook SignLanguage.ipynb
  • Use the provided code cells to test predictions on your images.

Usage Example

from fastai.vision.all import load_learner, PILImage

# Load model
learn = load_learner('export2.pkl')

# Predict gesture
img = PILImage.create('sample_image.jpg')
pred, pred_idx, probs = learn.predict(img)

print(f"Predicted gesture: {pred}; Probability: {probs[pred_idx]:.04f}")

contributing

Contributions, suggestions, and improvements are welcome! Please fork the repo, create a branch, and submit a pull request.


About

Here's my ML model, Sign Language Gesture Classifier for Fastai Lecture 2 Project.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages