Skip to content

chrohangurjar/Hand-Detection-Tool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🤚 Hand Gesture Detection using MediaPipe

Welcome to the Hand Gesture Detection project! This application leverages the power of MediaPipe and OpenCV to recognize hand gestures in real-time through your webcam. It's a fun and interactive way to explore hand tracking technology and can be used for various applications, from gaming to virtual interfaces.

📸 Demo

Demo of Hand Gesture Detection
Watch how the system detects hand landmarks in real-time!

🚀 Features

  • Real-Time Detection: Detects and visualizes hand landmarks in real-time using your webcam.
  • User-Friendly Interface: Simple display with clear visual feedback.
  • Hands-Free Control: Potential applications for gesture-based control systems.

🛠️ Requirements

To run this project, you will need:

  • Python 3.x
  • OpenCV
  • MediaPipe

📥 Installation

  1. Clone the repository:

    git clone https://github.com/chrohangurjar1/hand-gesture-detection.git
    cd hand-gesture-detection
  2. Set up a virtual environment (optional but recommended):

    python -m venv .venv
    source .venv/bin/activate  # On Windows use `.venv\Scripts\activate`
  3. Install dependencies:

    pip install opencv-python mediapipe

🚀 Running the Project

To run the hand gesture detection application, use the following command:

python main.py
  • Press 'q' to exit the program.

🎨 Code Overview

This project utilizes the following key components:

  • MediaPipe Hands: For detecting and tracking hand landmarks.
  • OpenCV: For capturing video from the webcam and displaying the output.

Here's a snippet of the core functionality:

import cv2
import mediapipe as mp

# Initialize MediaPipe Hands
mp_hands = mp.solutions.hands
hands = mp_hands.Hands()
mp_drawing = mp.solutions.drawing_utils

# Capture video
cap = cv2.VideoCapture(0)

# Main loop for processing frames
while cap.isOpened():
    ret, frame = cap.read()
    # Additional processing here...

🐛 Issues

If you encounter any issues while using the application, please check the Issues section or feel free to create a new issue.

🌟 Contributors

We want to give a huge shoutout to everyone who has contributed to the project! 🙌 Your hard work and dedication help make this app better every day. 💪

RustWeatherApp contributors

🎉 Thank you all for your amazing contributions! Let's keep building together. 🚀

📄 License

This project is licensed under the MIT License. See the LICENSE file for details.

📫 Contact

For any inquiries, please contact:

About

No description, website, or topics provided.

Resources

License

Security policy

Stars

Watchers

Forks

Releases

No releases published

Sponsor this project

Packages

No packages published

Languages