Skip to content

ipiyushkumar/Hand_gesture

Repository files navigation

Hand Gesture Recognition

Be Smart with a hand gesture system control

About The Project

Overview

This script allows you to control the system volume using hand gestures recognized by a computer vision model. It uses the MediaPipe library for hand tracking and a pre-trained model for gesture recognition.

Features

  • Increase Volume: Thumbs Up: Increases the system volume.
  • Decrease Volume: Thumbs Down: Decreases the system volume.

Dependencies

  • Hardware Access: The script will start capturing the video from the webcam and display the output frame.
  • System Requirements: Make sure your system has audio capabilities and the necessary audio drivers are installed for volume control to work properly.

Purpose

To learn Machine Learning and AI in python in a more fun way

Build With

Python 3.10 - Programming Language Tensorflow - Python Module For Machine Learning Keras - Backend API for Machine Learning

Getting Started

Installation

  1. Clone the repo:
git clone https://github.com/dark-king-001/Hand_gesture.git
  1. Install the required packages:
pip install opencv-python numpy mediapipe tensorflow keras
  1. Enter the Folder:
cd Hand_gesture
  1. run the game:
python main.py

Additional libraries

OpenCV - Hardware and AI module NumPy - A Scientific Calculation module Mediapipe - Cross-platform API deployment solution

License

  • This project is licensed under the MIT License.

Troubleshooting

  • If the script fails to capture frames from the webcam, make sure the webcam is connected and functional.
  • If the hand landmarks are not detected accurately, try adjusting the min_detection_confidence parameter in the script to a lower value.

Project Images

  • Running Script Running Game

  • Directory Snapshot Directory Snapshot

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published