In this project I am going to learn how to use Gesture Control to change the volume of a computer. I first look into hand tracking and then I will use the hand landmarks to find gesture of my hand to change the volume.
Follow the link to see my first version of the "Gesture volume control"
- Can track your hand in real-time
- Can change your computer's volume based on your hand activity
- Clone this repository on your computer
https://github.com/paveldat/gesture_volume_control_v2.git
- Install all the requirements
run libraries.bat
orpip install -r requirements.txt
- Run the program
python main.py
You might face issue with webcam not showing and you get errors.
To solve it just change the value in this line (for example to 1
).
cap = cv2.VideoCapture(0)
Increment this number until you see your webcam.
- Sound can reach 100%
- To set the value of the sound you need to bend the pinky