Skip to content

greeenboi/Volume-control-with-hand-detection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Volume-control-with-hand-detection

Using mediapipe library to detect hand motions and pycaw lobrary to modify system volume

Libraries used

  1. Mediapipe
  2. Open-cv
  3. Pycaw
  4. Numpy
  5. Math

Setup Instructions

First confirm if you have all the libraries installed.:thumbsup:

pip install opencv-python
pip install mediapipe
pip install pycaw

Now Import my files as a .zip or git clone using :https://github.com/greeenboi/Volume-control-with-hand-detection.git
Then Run main.py. Keep in mind that the camera module is set to the default (0) camera on your device. Change it to 1 or other values in the code. Check the comments in the code
There is a specific section marked. Comment it if there are issues with your output.

Usage

Once the program is running. You will see a window open up that displays the camera output.
Put up your hand to the camera and adjust the distance between your index and thumb finger-tips
It will display the volume and dist btw the fingertips on screen.

Note that this feature is not optimized across devices and I would appreciate some help if possible.:grin:

About

Using mediapipe library to control system volume

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages