Using mediapipe library to detect hand motions and pycaw lobrary to modify system volume
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.
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: