Spaces:
Paused
Paused
| 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. | |
| ```sh | |
| 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 | |
| ``` | |