Skip to content

AI-powered virtual mouse control using hand gestures. This Python project uses computer vision and machine learning to track hand movements via webcam, allowing users to control their mouse cursor and perform clicks with simple hand gestures. Built with OpenCV, MediaPipe, and PyAutoGUI for a seamless, hands-free computer interaction experience.

Notifications You must be signed in to change notification settings

ajay-cs-tech/mouse-control-using-hand-gesture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Hand Gesture Mouse Control

This project implements a virtual mouse control system using hand gestures captured through a webcam. It allows users to move the mouse cursor and perform clicks using their hand movements.

Features

  • Move the mouse cursor by moving your index finger
  • Perform a click by bringing your thumb and index finger close together
  • Real-time hand tracking and visualization

Requirements

  • Python 3.11 or later (latest version recommended)
  • OpenCV (cv2)
  • MediaPipe
  • PyAutoGUI

Installation

  1. Clone this repository
  2. Ensure you have the latest version of Python installed
  3. Install the required packages:
    pip install opencv-python mediapipe pyautogui
    

Usage

Run the script:

python main.py
  • Use your index finger to move the cursor
  • Bring your thumb and index finger together to click
  • Press 'q' to quit the application

Note

Ensure you have a working webcam and proper lighting for best results.

About

AI-powered virtual mouse control using hand gestures. This Python project uses computer vision and machine learning to track hand movements via webcam, allowing users to control their mouse cursor and perform clicks with simple hand gestures. Built with OpenCV, MediaPipe, and PyAutoGUI for a seamless, hands-free computer interaction experience.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages