Skip to content

About

A real-time hand gesture recognition system in Python that converts hand signs into text messages.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

🖐️ HandPython - Gesture Recognition & Voice Greeting System

Language Computer Vision ML Framework Audio Engine License

Welcome to HandPython! An interactive real-time hand gesture recognition system that detects hand positions and converts them into visual text overlays and audio speech responses. Built using OpenCV, MediaPipe, and text-to-speech engines to create a seamless gesture-to-speech bridge.


✨ Key Features

  • 🖐️ Real-Time Landmark Tracking: Precise detection of 21 hand landmarks using Google's MediaPipe framework.
  • 💬 Dynamic Gesture Mapping: Recognizes specific gestures (e.g., open palm for "Halo", closed fist for custom responses) and maps them to distinct greetings.
  • 🔊 Audio & Visual Feedback: Triggers real-time text overlays on screen along with synchronized voice output.
  • ⚡ Low-Latency Frame Processing: Optimized loop ensuring quick gesture recognition and prompt audio triggers.
  • 🤖 AI-Assisted Implementation: Built with AI support to refine gesture detection thresholds and audio execution logic.

🛠️ Tech Stack & Tools

  • Language: Python 3.x
  • Computer Vision: OpenCV (cv2)
  • Gesture Tracking: MediaPipe Hands
  • Text-to-Speech: pyttsx3 / gTTS
  • Mathematical Operations: NumPy

🚀 Getting Started

Follow these steps to set up and run the project locally on your machine.

Prerequisites

Make sure you have installed:

  • Python >= 3.8
  • pip (Python Package Installer)
  • A working Webcam and Speakers

Installation & Execution

  1. Clone the repository:

    git clone https://github.com/Madtch/handpython.git
    cd handpython
  2. Set up a Virtual Environment (Optional but recommended):

    python -m venv venv
    # On Windows:
    venv\Scripts\activate
    # On macOS/Linux:
    source venv/bin/activate
  3. Install Dependencies:

    pip install opencv-python mediapipe pyttsx3 numpy
  4. Run the Application:

    python main.py
  5. Interact:

    • Show an open palm (5 fingers) to see and hear "Halo".
    • Show different hand gestures (fist, index finger, etc.) to trigger other custom text and audio responses!

👤 Author

Zamzami Ahmad


Developed with modern Computer Vision standards to showcase real-time gesture recognition and Human-Computer Interaction (HCI).

About

A real-time hand gesture recognition system in Python that converts hand signs into text messages.

Topics

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages