A small computer-vision experiment that controls Windows master volume with hand gestures. The distance between the thumb and index finger sets the volume; bringing the index and middle fingers together resets it to a neutral level.
- Python
- OpenCV
- MediaPipe Hands
- Pycaw / Windows Core Audio
pip install opencv-python mediapipe numpy pycaw comtypes
python app.pyAllow camera access when prompted. Press Esc to close the camera window.
This prototype uses Windows audio APIs and is intended to run on Windows.