Giter Site home page Giter Site logo

harshaparida / gesturemouse Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 7 KB

This project implements a real-time hand gesture mouse control system using computer vision techniques. It utilizes OpenCV for hand detection and gesture recognition, enabling users to control their computer mouse cursor and perform clicks through hand movements.

License: MIT License

Python 100.00%

gesturemouse's Introduction

GestureMouse

Mouse Tracker using OpenCV and Hand Detection

Python OpenCV PyAutoGUI NumPy

This project implements a mouse tracker using a webcam, OpenCV, and a custom hand detection module. The tracker allows you to control your mouse cursor with hand movements and perform clicks using finger gestures.

Introduction

This project leverages computer vision and hand detection to control the mouse cursor on your computer. It uses OpenCV for image processing, PyAutoGUI for mouse control, and a custom hand tracking module.

Features

  • Move Mouse Cursor: Move your mouse cursor by moving your index finger.
  • Click: Perform a left click by bringing your index finger and middle finger close together.

Requirements

  • Python 3.8+
  • OpenCV 4.5.5
  • PyAutoGUI 0.9.52
  • NumPy 1.21.2

Installation

  1. Clone this repository:
    git clone https://github.com/harshaparida/GestureMouse.git
    cd GestureMouse
  2. Install the required packages:
    pip install -r requirements.txt

Usage

  1. Run the script:
    python handTracking.py
  2. Ensure your webcam is connected and functional.
  3. Use your hand to control the mouse cursor:
    • Move Mouse Cursor: Extend your index finger to move the cursor.
    • Click: Bring your index finger and middle finger close together to perform a click.

Acknowledgments

gesturemouse's People

Contributors

harshaparida avatar

Watchers

Kostas Georgiou avatar  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.