Giter Club home page Giter Club logo

gesturecontrol4pc's Introduction

GestureControl4PC

GestureControl4PC is a Python project that allows you to control your computer's mouse using hand gestures. By utilizing a camera to track finger movements, the project enables intuitive and touch-free interaction with your computer. When the index and middle fingers are brought together, a mouse click is performed.

Features

Hand Detection: Tracks hands and fingers using a camera.

Finger Recognition: Identifies specific fingers and their positions.

Mouse Movement: Controls the mouse pointer based on finger movements.

Click Detection: Performs mouse clicks when specific gestures are detected.

Customizable: Adjustable parameters for hand detection and tracking.

Installation

To use GestureControl4PC, you'll need to install the required dependencies. You can do this using the requirements.txt file provided.

pip install -r requirements.txt

Usage

To start controlling your computer with hand gestures:

  1. Run the script
python gesture_control.py
  1. Open the application window.

  2. Point your webcam towards your hand.

  3. Use your index finger to control the mouse cursor.

  4. Touch your index finger and middle finger to perform a left click.

Customization:

You can adjust the smoothing variable in the script to control the sensitivity of cursor movement.

Modify the click_distance threshold within the find_distance function to adjust the distance between your index and middle finger for click detection.

gesturecontrol4pc's People

Contributors

thebmf avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.