Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,20 +1,35 @@
|
|
| 1 |
---
|
| 2 |
title: SignLanguageClassification
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: red
|
| 6 |
-
sdk:
|
| 7 |
-
|
| 8 |
-
tags:
|
| 9 |
-
- streamlit
|
| 10 |
pinned: false
|
| 11 |
short_description: Upload a hand sign image and the CNN predicts
|
| 12 |
license: mit
|
| 13 |
---
|
| 14 |
|
| 15 |
-
#
|
| 16 |
|
| 17 |
-
|
| 18 |
|
| 19 |
-
|
| 20 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
title: SignLanguageClassification
|
| 3 |
+
emoji: 🤟
|
| 4 |
colorFrom: red
|
| 5 |
colorTo: red
|
| 6 |
+
sdk: streamlit
|
| 7 |
+
app_file: src/streamlit_app.py
|
|
|
|
|
|
|
| 8 |
pinned: false
|
| 9 |
short_description: Upload a hand sign image and the CNN predicts
|
| 10 |
license: mit
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# 🤟 Sign Language Classification (CNN)
|
| 14 |
|
| 15 |
+
This project uses a Convolutional Neural Network (CNN) built with Keras (Sequential API) to classify sign language hand gesture images.
|
| 16 |
|
| 17 |
+
## Demo
|
| 18 |
+
Upload a hand sign image (JPG/PNG) and the app predicts the class with confidence scores.
|
| 19 |
+
|
| 20 |
+
## Model & Data
|
| 21 |
+
- Input: grayscale image resized to **28×28**
|
| 22 |
+
- Output: class probabilities (softmax)
|
| 23 |
+
- The dataset was provided as CSV (pixel values + labels).
|
| 24 |
+
|
| 25 |
+
## Files
|
| 26 |
+
Place these files in the repository root:
|
| 27 |
+
- `app.py`
|
| 28 |
+
- `signlanguage_cnn.keras`
|
| 29 |
+
- `label_map.json`
|
| 30 |
+
- `requirements.txt`
|
| 31 |
+
|
| 32 |
+
## Run locally
|
| 33 |
+
```bash
|
| 34 |
+
pip install -r requirements.txt
|
| 35 |
+
streamlit run app.py
|