Control your system volume with hand gestures! It's a fun, touch-free way to manage audio levels without reaching for the keyboard or mouse. π±οΈπ
- β Hand gestures to control volume (pinch to decrease, spread to increase).
- π€ Uses MediaPipe for hand tracking and OpenCV for capturing video.
- π§ Seamlessly integrates with system audio volume using PyCaw.
- β‘ Lightweight and easy to use.
Before running the application, make sure you have the following dependencies installed:
- π Python 3.x
- π· OpenCV
- ποΈ MediaPipe
- π PyCaw (for controlling the volume)
To install the required dependencies, run the following command:
pip install opencv-python mediapipe pyautogui numpy
- Clone the repository:
git clone https://github.com/KrishBharadwaj5678/Gestune.git
cd gestune
- Run the script:
python VolumeHandControl.py
- Make gestures β in front of your camera to control the system's volume:
- π€ Pinch your thumb and second finger together to decrease the volume.
- β Spread your thumb and second finger apart to increase the volume.
We welcome contributions! If you'd like to contribute, feel free to fork the repository and submit a pull request. Here are a few ways you can help:
- π Bug fixes
- π οΈ Code improvements
- β¨ Feature requests