Skip to content

This Python application enables control of the mouse cursor through hand gestures captured via webcam. It leverages Mediapipe for hand tracking and OpenCV for video processing, allowing users to perform actions like moving the cursor, left-clicking, right-clicking, dragging, and scrolling using intuitive gestures.

Notifications You must be signed in to change notification settings

whitehatboy005/Virtual-Mouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Virtual Mouse Using Hand Gestures

This Python application enables control of the mouse cursor through hand gestures captured via webcam. It leverages Mediapipe for hand tracking and OpenCV for video processing, allowing users to perform actions like moving the cursor, left-clicking, right-clicking, dragging, and scrolling using intuitive gestures.

Features

  • Hand Tracking: Utilizes Mediapipe to detect and track landmarks of the user's hand in real-time.
  • Cursor Control: Moves the mouse cursor based on the position of the index finger.
  • Gesture Actions: Supports gestures for left-clicking, right-clicking, dragging, and scrolling using specific hand configurations.
  • User Instructions: Provides on-screen instructions for gesture controls and actions.

Result

Screenshot 2024-06-19 183558

Installation

Clone the Repository

git clone https://github.com/whitehatboy005/Virtual-Mouse

Move the file

cd Virtual-Mouse

Install Dependencies

pip install -r requirements.txt

Run the Program

python mouse.py

About

This Python application enables control of the mouse cursor through hand gestures captured via webcam. It leverages Mediapipe for hand tracking and OpenCV for video processing, allowing users to perform actions like moving the cursor, left-clicking, right-clicking, dragging, and scrolling using intuitive gestures.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages