Project to change the volume with your fingers. By moving together and apart.
- The volume only changes when the middle finger is raised.
- When making a fist the musik remains the same.
- The volume can remain the same without holding your hand up.
- A calibration phase, was added, so the volume doesn't change, when the somehow a frame with a wrong hand in the background, is detected.
To see, whats going on, the image of your camera is getting displayed. Additionally the landmarks are drawn over it, to visualize how to move your fingers.
By moving the purple colored fingers, you change the volume on the computer.
Mediapipe was used for hand recognition. In the graphic you can see the individual landmarks and the corresponding numbers
Source: https://google.github.io/mediapipe/solutions/hands
The project was created with python in combination with opencv and mediapipe.