A Python-based Computer Vision Project for Gesture-Based System Controls
Gesture Control is an open-source Python project that leverages computer vision to enable gesture-based control of system functionalities such as volume, brightness, and mouse operations. Utilizing the power of MediaPipe and OpenCV, this project interprets hand gestures captured via webcam to perform real-time system adjustments, offering a touchless interaction experience.
🚀 Features
| Category | Tech Stack |
|---|---|
| Programming Language | Python 3.x |
| Computer Vision | OpenCV |
| Hand Tracking | MediaPipe |
| System Control | pycaw (Volume), screen-brightness-control (Brightness) |
| Mouse Control | pyautogui, wxPython |
Gesture_Control/
├── handTrackingModule.py # Module for hand landmark detection
├── VolumeControl.py # Script to control system volume via gestures
├── BrightnessControl.py # Script to control screen brightness via gestures
├── Gesture_Mouse.py # Script to control mouse using hand gestures
└── README.md # Project documentation
git clone https://github.com/tuhindutta/Gesture-Control.git
cd Gesture-Control
python -m venv venv
source venv/bin/activate # On Windows: venv\Scripts\activate
python VolumeControl.py
Gesture: Bringing the thumb and index finger closer decreases the volume; moving them apart increases it.
python BrightnessControl.py
Gesture: Similar to volume control; adjusts screen brightness based on the distance between thumb and index finger.
python Gesture_Mouse.py
Gestures:
Contributions are welcome! Please fork the repository and submit a pull request for any enhancements or bug fixes. For more details and updates, visit the GitHub Repository.
This project was inspired by the outstanding tutorials and educational content from Murtaza Hassan, whose work in practical computer vision and real-time AI applications has been instrumental in shaping this implementation.
Special thanks to the broader open-source community for libraries like MediaPipe, OpenCV, and other tools that make gesture-based interaction accessible and exciting to build.