Code Monkey home page Code Monkey logo

ai-virtual-mouse's Introduction

AI Virtual Mouse Using Hand Gestures

The "AI Virtual Mouse Using Hand Gestures" project is a machine learning-based application that allows users to control their computer mouse using hand gestures. The project uses computer vision techniques to recognize hand gestures and convert them into mouse movements. The application utilizes deep learning models to accurately predict hand movements and provides a user-friendly interface for users to interact with their computer.

The project is designed to work on any computer with a camera, making it easily accessible to anyone interested in exploring the capabilities of computer vision and machine learning. The code for the project is available on a Github repository, making it open-source and available for contributions from the community.

Dependencies -

Please install all the required dependencies.

openCV - (For image processing and drawing).

mediapipe - (For Hand Tracking).

autopy - (For controlling the mouse movement and click).

numpy.

Installation

To use this project, follow the steps below:

  1. Clone the repository:
git clone https://github.com/<USERNAME>/AI-Virtual-Mouse.git
  1. Install the required dependencies using 'pip':
pip install -r requirements.txt
  1. Run the main script:
aivirtualmouseproject.py

How to Use

To use the virtual mouse, make sure your computer has a camera and follow the steps below:

  1. Run the main script using the steps above.

  2. Place your hand in front of the camera with your palm facing down.

  3. Make a fist to activate the virtual mouse.

  4. Move your fingure to move the mouse pointer.

  5. Release your fist to click.

  6. Touch thumb and for fingure to right-click.

  7. Touch middle fingure and for fingure to left-click.

To exit the application, stop the code running using code editor or directle close the GUI window.

Contributing

Contributions are welcome! Please feel free to submit a pull request or open an issue if you encounter any bugs or have any suggestions for improvement.

License

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

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.