This repository contains a Sign Language Recognition System using the HWGAT model. It includes a Jupyter Notebook demo for model inference for sign language recognition and a Flask web application API.
The Sign Language Recognition System leverages the HWGAT (Hierarchical Windowed Graph Attention Network) model to recognize sign language gestures. The system provides a notebook demo for testing the model with sample data and a Flask web application API for making web based application.
-
Clone this repository and install the necessary dependencies.
git clone https://github.com/yourusername/sl-hwgat-demo.git cd sl-hwgat-demo pip install -r requirements.txt
-
Get the pretrained model and sign class map from here and update the
save_model_path
andclass_map_path
in thedemo_utils.py
file.
The Jupyter Notebook demo allows you to test the HWGAT model on real-time camera feed.
- Open the
demo.ipynb
notebook. - Follow the instructions in the notebook to run the demo.
The Flask web application API provides an interface for making web based sign language recognition application.
-
Run the Flask application.
python api_app.py
-
Make web application use the API endpoint
http://127.0.0.1:5000/upload
for sign language recognition.
The HWGAT model is a Hierarchical Windowed Graph Attention Network, designed for sign language recognition. It is pre-trained and included in this repository. You can go the main HWGAT repository to get information about training the model.
This project is licensed under the MIT License. See the LICENSE file for details.
If you find this project useful in your research, please consider cite:
@misc{patra2024hierarchicalwindowedgraphattention,
title={Hierarchical Windowed Graph Attention Network and a Large Scale Dataset for Isolated Indian Sign Language Recognition},
author={Suvajit Patra and Arkadip Maitra and Megha Tiwari and K. Kumaran and Swathy Prabhu and Swami Punyeshwarananda and Soumitra Samanta},
year={2024},
eprint={2407.14224},
archivePrefix={arXiv},
primaryClass={cs.CV},
url={https://arxiv.org/abs/2407.14224},
}
Thank you for using this repository. For any questions or support, please open an issue in this repository.