An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# 🖱️ Virtual Mouse Using Hand Gestures
[![License](https://img.shields.io/github/license/whitehatboy005/Virtual-Mouse)](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
![Screenshot 2024-06-19 183558](https://github.com/whitehatboy005/Virtual-Mouse/assets/147156726/5080f8f6-2234-47bf-9af8-a2f8b9196207)

## ⚙️ 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).