/hand_tracking_volume_control

Project to change the volume with your fingers.

Primary LanguagePython

Hand Tracking Volume Control

Project to change the volume with your fingers. By moving together and apart.

New Feature:

  • 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.

Visualisation

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.

QcNOI.png

By moving the purple colored fingers, you change the volume on the computer.

Hand detection

Mediapipe was used for hand recognition. In the graphic you can see the individual landmarks and the corresponding numbers QccMk.png

Source: https://google.github.io/mediapipe/solutions/hands

Infos

The project was created with python in combination with opencv and mediapipe.