An open API service indexing awesome lists of open source software.

https://github.com/shristirajpoot/gestura-retail-accessibility-ai

AI-powered real-time sign language translator to enhance accessibility and customer experience in retail spaces
https://github.com/shristirajpoot/gestura-retail-accessibility-ai

ai computer-vision customer-experience mediapipe opencv python retail-accessibility sign-language text-to-speech

Last synced: 3 months ago
JSON representation

AI-powered real-time sign language translator to enhance accessibility and customer experience in retail spaces

Awesome Lists containing this project

README

          

# βœ‹ Gestura – Bridging Silence with AI πŸ€–
> A real-time sign-language translator made with ❀️ using **Python, MediaPipe & OpenCV**
>
![GitHub Repo stars](https://img.shields.io/github/stars/Shristirajpoot/Gestura-Retail-Accessibility-AI?style=social)
![Built with](https://img.shields.io/badge/Built%20with-Python%20%7C%20MediaPipe%20%7C%20OpenCV-blue)
![GitHub last commit](https://img.shields.io/github/last-commit/Shristirajpoot/Gestura-Retail-Accessibility-AI?color=brightgreen)

---

## 🌟 Overview
**Gestura** is an AI-powered application that captures hand gestures via webcam, recognises American Sign Language (ASL) signs in real-time, and instantly converts them into text **and** speech. It leverages **MediaPipe** for landmark detection, a **Random Forest** model for classification, and Python’s text-to-speech engines to give voice to every gesture.

---

## πŸŽ₯ Demo Video
πŸ“Ί **Watch the full walkthrough:**
[![Gestura – Demo](https://img.youtube.com/vi/eQEPefRtuNg/0.jpg)](https://youtu.be/eQEPefRtuNg)

> πŸ”— *Click the image or [watch on YouTube](https://youtu.be/eQEPefRtuNg)*

---

## 🎨 Features
- βœ‹ **Real-time sign detection** with webcam input
- 🧠 **Landmark extraction & ML classification** (Random Forest)
- πŸ“ **Instant text output** for each recognised sign
- πŸ”Š **Text-to-speech synthesis** for audible translation
- πŸŒ— **Light / Dark UI** (HTML + CSS front-end)
- πŸ—‚ **User dashboard** with profile, feedback & usage stats
- πŸŽ₯ Built-in demo video and screenshots for quick preview

---

## πŸ“‚ Project Structure
```plaintext
Gestura/
β”œβ”€β”€ app.py # Flask / streamlit app runner
β”œβ”€β”€ collect_imgs.py # Script: capture images for dataset
β”œβ”€β”€ create_dataset.py # Build training data from captures
β”œβ”€β”€ train_classifier.py # Train Random Forest model
β”œβ”€β”€ inference_classifier.py # Real-time inference loop
β”œβ”€β”€ requirements.txt # Python dependencies
β”‚
β”œβ”€β”€ templates/ # *.html pages (home, login, dashboard…)
β”‚ β”œβ”€β”€ index.html
β”‚ β”œβ”€β”€ login.html
β”‚ β”œβ”€β”€ register.html
β”‚ β”œβ”€β”€ dashboard.html
β”‚ β”œβ”€β”€ contact.html
β”‚ └── ...
β”‚
β”œβ”€β”€ static/
β”‚ β”œβ”€β”€ main.css # Global styles
β”‚ β”œβ”€β”€ main.js # Front-end logic
β”‚ β”œβ”€β”€ images/ # Backgrounds, icons
β”‚ └── hand-signs-of-the-ASL-Language.png
β”‚
β”œβ”€β”€ model.p # Trained Random Forest pickle
β”œβ”€β”€ data.pickle # Landmark encoder
β”œβ”€β”€ demo (2).mp4 # Local demo video
└── README.md # You’re reading it!
```
| Account | Home |
|-----------|------------|
| ![Home](./Screenshot%202025-01-28%20105641.png) | ![Login](./Screenshot%202025-01-30%20221835.png) |

| Login | About |
|----------|----------|
| ![Dashboard](./Screenshot%202025-01-30%20221905.png) | ![Feedback](./Screenshot%202025-01-30%20221937.png) |

| Feedback | Database |
|-------------|---------------|
| ![Camera](./Screenshot%202025-01-30%20222018.png) | ![Settings](./Screenshot%202025-01-30%20222513.png) |

| Camera Page |
|--------------|
| ![Profile](./Screenshot%202025-01-30%20224408.png) |

---

## πŸš€ Getting Started

### πŸ“¦ Install Dependencies

```bash
git clone https://github.com/Shristirajpoot/Gestura.git
cd Gestura
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
pip install -r requirements.txt

▢️ Run the Application
bash
Copy
Edit
python app.py
```
Open http://localhost:5000 in your browser and allow webcam access.

## βœ‹ Supported Gestures
| ASL Sign | Output |
| ---------- | ---------------- |
| A, B, C... | Alphabet letters |
| Hello | β€œHello” |
| Yes / No | β€œYes” / β€œNo” |
| Thank you | β€œThank you” |
| Digits 0-9 | Numbers |

## πŸ› οΈ Built With
- 🐍 Python 3

- πŸ–Ό MediaPipe – hand-landmark detection

- πŸ“Έ OpenCV – camera capture & image processing

- 🌲 Scikit-learn Random Forest – gesture classification

- πŸ”Š pyttsx3 / gTTS – text-to-speech

- 🌐 HTML + CSS + JS – front-end templates

## πŸ‘©β€πŸ’» Author
### Shristi Rajpoot
- πŸ“§ shristirajpoot369@gmail.com
- πŸ”— GitHub @Shristirajpoot

## πŸ“„ License
This project is licensed under the MIT License β€” feel free to use, modify & share with attribution.

### 🌟 If you find Gestura helpful, please ⭐ star the repo and spread the