Developed an AI-based system to control the mouse cursor using Python and OpenCV with the real-time camera. Fingertip location is mapped to RGB images to control the mouse cursor.

ravigithub19 ravigithub19 Last update: Mar 17, 2024

AI Virtual Mouse

Developed an AI-based approach for controlling the mouse movement using Python and openCV with real-time camera that detects hand landmarks, tracks gesture patterns instead of a physical mouse.

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 setup the system for development on your local machine, please follow the instructions below:

  1. Clone the repository to your machine

    git clone https://github.com/ravigithub19/ai-virtual-mouse.git
  2. Run the AIVirtualMouse.py python file.

Subscribe to our newsletter