https://github.com/whitehatboy005/virtual-mouse
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.
https://github.com/whitehatboy005/virtual-mouse
hand-gesture-mouse-controller hand-gesture-recognition python virtual-mouse-using-hand-gesture webcam
Last synced: 1 day ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/whitehatboy005/virtual-mouse
- Owner: whitehatboy005
- License: mit
- Created: 2024-06-19T13:00:23.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-10T13:01:11.000Z (8 months ago)
- Last Synced: 2025-09-10T00:05:36.337Z (27 days ago)
- Topics: hand-gesture-mouse-controller, hand-gesture-recognition, python, virtual-mouse-using-hand-gesture, webcam
- Language: Python
- Homepage:
- Size: 25.4 KB
- Stars: 13
- Watchers: 1
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 🖱️ Virtual Mouse Using Hand Gestures
[](LICENSE.md)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
## ⚙️ Installation:
## Clone the Repository
```bash
git clone https://github.com/whitehatboy005/Virtual-Mouse
cd Virtual-Mouse
```
## Install Dependencies
```bash
pip install -r requirements.txt
```
## Run the Program
```bash
python mouse.py
```
## 📝 License
This project is licensed under the terms of the [MIT license](LICENSE.md).