Skip to content

Latest commit

 

History

History
32 lines (25 loc) · 760 Bytes

File metadata and controls

32 lines (25 loc) · 760 Bytes

🖱️ Virtual Mouse with Hand Gesture Control

Control your computer cursor using hand gestures via webcam using OpenCV, MediaPipe, and PyAutoGUI.

🚀 Features

  • Real-time hand tracking (MediaPipe)
  • 5 gesture control modes
  • Smooth cursor movement
  • Left/Right click gestures
  • Works on Windows/macOS/Linux
  • Easy toggle on/off via gestures or keyboard

🧰 Tech Stack

  • Python 3.7+
  • OpenCV
  • MediaPipe
  • PyAutoGUI
  • NumPy

📦 Installation

git clone https://github.com/yourusername/virtual-mouse-project.git
cd virtual-mouse-project

# Virtual environment (optional)
python -m venv venv
venv\Scripts\activate      # On Windows
# source venv/bin/activate # On macOS/Linux

pip install -r requirements.txt
python main.py