A Python project that uses OpenCV and MediaPipe to recognize hand gestures in real time and control the system volume.
This project allows you to control your system's volume using hand gestures captured through your webcam.
By tracking your hand in real-time using OpenCV and MediaPipe, the program adjusts the volume based on the distance between your thumb and index finger.
Perfect for:
- ๐ฎ Automation projects
- ๐งโ๐ฆฝ Accessibility and hands-free control
- ๐งช Computer vision & AI experimentation
โ
Real-time hand tracking using MediaPipe Hands
โ
Smooth and responsive gesture-to-volume mapping
โ
Works on Windows, macOS, and Linux
โ
Adjustable sensitivity and detection accuracy
โ
Simple and clean UI feedback (volume bar, FPS display)
- Python 3.8+
- OpenCV โ Video capture & visualization
- MediaPipe โ Hand tracking
- PyCaw (Windows) โ Volume control API
- Numpy โ Math operations
# Clone the repository
git clone https://github.com/hiu154/hand-gesture-volume-control.git
cd hand-gesture-volume-control
# Install dependencies
pip install -r requirements.txt