Skip to content

kritikodes/virtual_mouse

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

5 Commits
ย 
ย 
ย 
ย 

Repository files navigation

Hand Gesture Mouse Control

๐Ÿš€ Control your computer mouse using hand gestures with OpenCV, Mediapipe, and PyAutoGUI.

โœจ Key Features

  • Hand Tracking: Precise gesture detection using Mediapipe.
  • Cursor Movement: Control the cursor using your index finger.
  • Gesture-Based Clicking: Click with a simple pinch gesture.
  • Scroll Functionality: Scroll by aligning and moving your fingers.

๐Ÿ› ๏ธ Tech Stack

  • OpenCV: Real-time video capture and processing.
  • Mediapipe: Advanced hand tracking.
  • PyAutoGUI: Translates gestures into mouse actions.

๐Ÿ“Œ Installation

  1. Clone the repository:
    git clone https://github.com/your-username/hand-gesture-mouse.git
    cd hand-gesture-mouse
  2. Install dependencies:
    pip install opencv-python mediapipe pyautogui numpy
  3. Run the script:
    python main.py

๐ŸŽฎ How It Works

  • Move your index finger to control the cursor.
  • Pinch your thumb and index finger to perform a click.
  • Align and move two fingers up/down for scrolling.

๐Ÿ“œ License

This project is licensed under the MIT License.

๐Ÿค Contributing

Feel free to submit issues or pull requests if you want to improve the project!


Made with โค๏ธ using Python.

About

Gesture-Based Control System

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages