Spaces:
Paused
Paused
metadata
title: ASL SIGN LANGUAGE
emoji: π
colorFrom: blue
colorTo: green
sdk: docker
app_port: 7860
Setup using Python virtual environment
First we create the virtual environment and clone the repository into it. Then, we install all dependencies before running the application.
python3 -m venv /path/to/venv
cd /path/to/venv
git clone https://github.com/user/name_project
source bin/activate
cd sign-language-detection
python3 -m pip install -r requirements.txt
python3 app.py
Usage
Click on 'Start' on the homepage to begin sign language detection on your video feed
Permissions for video feed usage must be set to 'Allow'
Write letters in American Sign Language to form words or phrases which show up on the console on the right
Click on 'Play' button below the console to convert your sentences from text-to-speech for seamless communication
For non-ASL users, you can refer to the English to ASL converter on the homepage
Follow 'Tips' under console for further instructions
File Structure
.
βββ app.py.............................Runs the Flask application and deploys all webpages
β as well as calls necessary computational functions
βββ datasets...........................Contains tar.gz file of the dataset and
β some necessary statistics for the dataset
βββ LICENSE............................MIT LICENSE
βββ models.............................TFLITE version models of MobileNet and EfficientNet
β βββ model_efficientnet_v2s.tflite
β βββ model_mobilenet_v2.tflite
βββ README.md
βββ requirements.txt
βββ screenshots........................Contains necessary visualizations about the
β model performance, data and website
βββ static.............................Contains all js, css files and images used in the website
β βββ connection.js
β βββ opencv.js
β βββ style.css
βββ templates..........................Contains all HTML templates deployed in the website
β βββ about.html
β βββ index.html.....................HTML template of the page where sign detection occurs
β βββ landing.html
β βββ layout.html
βββ train.py...........................Used to train the entire model, contains all
β ML techniques mentioned above
βββ webcam_detect.py...................Loads the model and predicts the class from the
β frame input given as softmax probability which is sent
β back to the client's end
βββ webcam.py..........................Used for testing ASL Sign Detection and preiction locally