Spaces:
Sleeping
Sleeping
| title: Sign Language Recognition | |
| emoji: π€ | |
| colorFrom: blue | |
| colorTo: purple | |
| sdk: gradio | |
| sdk_version: 4.44.0 | |
| app_file: app.py | |
| pinned: false | |
| # π€ Sign Language Recognition | |
| An AI-powered application that recognizes American Sign Language (ASL) alphabet letters (A-Z) from images using AutoGluon multimodal deep learning. | |
| ## π― Features | |
| - **Real-time prediction**: Upload images or use webcam to capture hand signs | |
| - **High accuracy**: Powered by AutoGluon's state-of-the-art multimodal predictor | |
| - **26 ASL letters**: Recognizes all letters from A to Z | |
| - **Top-5 predictions**: Shows confidence scores for the most likely letters | |
| - **Image preprocessing**: Displays how the model processes your input (224x224 resize) | |
| ## π How to Use | |
| 1. **Upload an image** of an ASL hand sign or **use your webcam** to capture one | |
| 2. The model will automatically analyze the image | |
| 3. View the **top 5 predictions** with confidence scores | |
| 4. See the **preprocessed image** that the model actually processes | |
| ## π§ Model Details | |
| - **Framework**: AutoGluon MultiModalPredictor | |
| - **Task**: Image Classification | |
| - **Classes**: 26 (A-Z letters of ASL alphabet) | |
| - **Input size**: 224x224 RGB images | |
| - **Model size**: ~41.5 MB | |
| ## π Examples | |
| The app includes example ASL signs to help you get started: | |
| - Letter A | |
| - Letter B | |
| - Letter C | |
| ## π οΈ Technical Stack | |
| - **AutoGluon**: For multimodal deep learning predictions | |
| - **Gradio**: For the interactive web interface | |
| - **Hugging Face Spaces**: For hosting and deployment | |
| - **PIL/Pillow**: For image processing | |
| - **Pandas**: For data handling | |
| ## π¦ Repository Structure | |
| ``` | |
| . | |
| βββ app.py # Main application code | |
| βββ requirements.txt # Python dependencies | |
| βββ autogluon_image_predictor_dir.zip # Trained model (zipped) | |
| βββ README.md # This file | |
| ``` | |
| ## π§ Local Development | |
| To run this app locally: | |
| ```bash | |
| # Clone the repository | |
| git clone https://huggingface.co/spaces/Anyuhhh/sign-language-recognition | |
| cd sign-language-recognition | |
| # Install dependencies | |
| pip install -r requirements.txt | |
| # Run the app | |
| python app.py | |
| ``` | |
| ## π Notes | |
| - This model recognizes **static ASL letters** only (not dynamic signs or words) | |
| - For best results, use images with: | |
| - Clear hand visibility | |
| - Good lighting conditions | |
| - Neutral background | |
| - Hand positioned centrally in frame | |
| ## π¨βπ» Author | |
| Created by [Anyuhhh](https://huggingface.co/Anyuhhh) | |