Update README.md
Browse files
README.md
CHANGED
|
@@ -1,39 +1,73 @@
|
|
| 1 |
-
#
|
| 2 |
|
| 3 |
-
This repository
|
| 4 |
|
| 5 |
-
|
| 6 |
|
| 7 |
-
|
|
|
|
|
|
|
|
|
|
| 8 |
|
| 9 |
```bash
|
| 10 |
-
|
| 11 |
```
|
| 12 |
|
|
|
|
|
|
|
| 13 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 14 |
|
| 15 |
-
## Steps
|
| 16 |
-
- Download the INCLUDE dataset
|
| 17 |
-
- Run `generate_keypoints.py` to save keypoints from Mediapipe Hands and Blazepose for train, validation and test videos.
|
| 18 |
```bash
|
| 19 |
-
|
| 20 |
```
|
| 21 |
-
|
|
|
|
|
|
|
|
|
|
| 22 |
```bash
|
| 23 |
-
|
| 24 |
```
|
| 25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 26 |
```bash
|
| 27 |
-
|
| 28 |
```
|
| 29 |
-
|
|
|
|
|
|
|
|
|
|
| 30 |
```bash
|
| 31 |
-
|
| 32 |
```
|
| 33 |
|
| 34 |
-
##
|
|
|
|
| 35 |
|
|
|
|
|
|
|
| 36 |
```
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 37 |
@inproceedings{10.1145/3394171.3413528,
|
| 38 |
author = {Sridhar, Advaith and Ganesan, Rohith Gandhi and Kumar, Pratyush and Khapra, Mitesh},
|
| 39 |
title = {INCLUDE: A Large Scale Dataset for Indian Sign Language Recognition},
|
|
@@ -41,13 +75,8 @@ year = {2020},
|
|
| 41 |
isbn = {9781450379885},
|
| 42 |
publisher = {Association for Computing Machinery},
|
| 43 |
doi = {10.1145/3394171.3413528},
|
| 44 |
-
numpages = {10},
|
| 45 |
series = {MM '20}
|
| 46 |
}
|
| 47 |
```
|
| 48 |
|
| 49 |
-
|
| 50 |
-
# INCLUDE
|
| 51 |
-
# INCLUDE
|
| 52 |
-
# INCLUDE
|
| 53 |
-
# INCLUDE
|
|
|
|
| 1 |
+
# INCLUDE - Isolated Indian Sign Language Recognition with Web UI
|
| 2 |
|
| 3 |
+
This repository features an enhanced implementation of the **INCLUDE** dataset for Indian Sign Language (ISL) recognition. It introduces modern deep learning architectures, a comprehensive preprocessing pipeline, and a full-stack web interface for real-time video inference.
|
| 4 |
|
| 5 |
+
---
|
| 6 |
|
| 7 |
+
## π Getting Started
|
| 8 |
+
|
| 9 |
+
### 1. Environment Setup
|
| 10 |
+
Install the necessary Python dependencies:
|
| 11 |
|
| 12 |
```bash
|
| 13 |
+
pip install -r requirements.txt
|
| 14 |
```
|
| 15 |
|
| 16 |
+
### 2. Web Interface Setup
|
| 17 |
+
The UI is built with React. To prepare the frontend:
|
| 18 |
|
| 19 |
+
```bash
|
| 20 |
+
cd ui
|
| 21 |
+
npm install
|
| 22 |
+
npm run build # Builds the UI for production
|
| 23 |
+
```
|
| 24 |
+
|
| 25 |
+
For local development:
|
| 26 |
|
|
|
|
|
|
|
|
|
|
| 27 |
```bash
|
| 28 |
+
npm run dev
|
| 29 |
```
|
| 30 |
+
|
| 31 |
+
### 3. Running the Application
|
| 32 |
+
Launch the FastAPI server to start the web interface:
|
| 33 |
+
|
| 34 |
```bash
|
| 35 |
+
python app.py
|
| 36 |
```
|
| 37 |
+
|
| 38 |
+
Access the interface at http://localhost:8000.
|
| 39 |
+
|
| 40 |
+
---
|
| 41 |
+
|
| 42 |
+
## π Training and Evaluation
|
| 43 |
+
|
| 44 |
+
### Extract Keypoints
|
| 45 |
+
Process the INCLUDE dataset to extract pose and hand keypoints:
|
| 46 |
+
|
| 47 |
```bash
|
| 48 |
+
python generate_keypoints.py --include_dir <path_to_dataset> --save_dir <path_to_save> --dataset include50
|
| 49 |
```
|
| 50 |
+
|
| 51 |
+
### Train a Model
|
| 52 |
+
To train a Transformer-based model:
|
| 53 |
+
|
| 54 |
```bash
|
| 55 |
+
python runner.py --dataset include50 --use_augs --model transformer --data_dir <keypoints_dir>
|
| 56 |
```
|
| 57 |
|
| 58 |
+
### Perform Inference
|
| 59 |
+
Run predictions on a folder of videos:
|
| 60 |
|
| 61 |
+
```bash
|
| 62 |
+
python evaluate.py --data_dir <path_to_videos>
|
| 63 |
```
|
| 64 |
+
|
| 65 |
+
---
|
| 66 |
+
|
| 67 |
+
## π Citation & Credits
|
| 68 |
+
This project is built upon the INCLUDE dataset and research by the following authors:
|
| 69 |
+
|
| 70 |
+
```bibtex
|
| 71 |
@inproceedings{10.1145/3394171.3413528,
|
| 72 |
author = {Sridhar, Advaith and Ganesan, Rohith Gandhi and Kumar, Pratyush and Khapra, Mitesh},
|
| 73 |
title = {INCLUDE: A Large Scale Dataset for Indian Sign Language Recognition},
|
|
|
|
| 75 |
isbn = {9781450379885},
|
| 76 |
publisher = {Association for Computing Machinery},
|
| 77 |
doi = {10.1145/3394171.3413528},
|
|
|
|
| 78 |
series = {MM '20}
|
| 79 |
}
|
| 80 |
```
|
| 81 |
|
| 82 |
+
> **Note:** This repository includes custom UI development and model architectural enhancements beyond the original publication.
|
|
|
|
|
|
|
|
|
|
|
|