GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Divyansh0980/VirtualMouse_Module: Control your computer mouse and screen brightness using hand gestures! This project uses computer vision and hand tracking to create a touchless interface for your computer.

BranchesTags
Open more actions menu

Latest commit

 

History

18 Commits
18 Commits

Folders and files

NameName
Last commit message
Last commit date
.gitignore
.gitignore
 
 
HandTracking.py
HandTracking.py
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
VirtualMouse.py
VirtualMouse.py
 
 
requirements.txt
requirements.txt
 
 
venv.txt
venv.txt
 
 

Repository files navigation

šŸ–±ļø Virtual Mouse - Hand Gesture Control

Control your computer mouse and screen brightness using hand gestures! This project uses computer vision and hand tracking to create a touchless interface for your computer.

Python OpenCV MediaPipe License

✨ Features

  • Mouse Movement - Move cursor with your index finger
  • Left Click - Pinch index and middle fingers together
  • Right Click - Pinch index, middle, and ring fingers together
  • Brightness Up - Open all 5 fingers
  • Brightness Down - Close all fingers (make a fist)
  • Smooth Tracking - Built-in smoothening algorithm for stable cursor movement
  • Real-time FPS Display - Monitor performance in real-time
Controls:
šŸ‘† Index finger up          → Move cursor
āœŒļø  Index + Middle pinch    → Left Click
🤟 Index + Middle + Ring    → Right Click
āœ‹ All 5 fingers open       → Increase Brightness
✊ Fist (all fingers closed) → Decrease Brightness

šŸš€ Installation

Prerequisites

  • Python 3.7 or higher
  • Webcam
  • Windows/Linux/MacOS

Step 1: Clone the repository

git clone https://github.com/Divyansh0980/VirtualMouse_Module
cd VirtualMouse_Module

Step 2: Install dependencies

pip install -r requirements.txt

Step 3: Run the application

python VirtualMouse.py

šŸ“¦ Dependencies

  • OpenCV (cv2) - Computer vision and image processing
  • MediaPipe - Hand tracking and landmark detection
  • NumPy - Numerical computations
  • AutoPy - Mouse control automation
  • screen-brightness-control - Brightness adjustment

šŸŽ® Usage

  1. Run the script using python VirtualMouse.py
  2. Position your hand in front of the webcam
  3. Use the gestures mentioned above to control your mouse
  4. Press 'q' to quit the application

## šŸ“ Project Structure

```virtual-mouse/
│
ā”œā”€ā”€ VirtualMouse.py          # Main application file
ā”œā”€ā”€ HandTracking.py          # Hand detection module
ā”œā”€ā”€ requirements.txt         # Project dependencies
ā”œā”€ā”€ README.md                # Project documentation
ā”œā”€ā”€ LICENSE                  # MIT License
ā”œā”€ā”€ .gitignore               # Git ignore file
ā”œā”€ā”€ venv.txt                 # Creating a virtual space
└── Demo.gif                 # Showing how it works

šŸ¤ Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

  1. Fork the project
  2. Create your feature branch (git checkout -b feature/AmazingFeature)
  3. Commit your changes (git commit -m 'Add some AmazingFeature')
  4. Push to the branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

šŸ“ Future Improvements

  • Add scroll gesture support
  • Implement drag and drop functionality
  • Add volume control gestures
  • Multi-hand gesture support
  • GUI for settings configuration
  • Cross-platform brightness control

šŸ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.

šŸ‘ Acknowledgments

  • MediaPipe for the amazing hand tracking solution
  • OpenCV for computer vision capabilities

Project Link: https://github.com/Divyansh0980/VirtualMouse_Module


⭐ If you found this project helpful, please consider giving it a star!

About

Control your computer mouse and screen brightness using hand gestures! This project uses computer vision and hand tracking to create a touchless interface for your computer.

Topics

codecv2handtrackingmediapipeopencvopencv-pythonvirtual-mouse-using-hand-gesturesvirtualmousewebcam

Resources

Readme
MIT license
Activity

Stars

2 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800Ɨ600. No cookies required.