This project, "Volume Controller", uses a custom made module called HandTrackingModule that utlizes OpenCV and MediaPipe to track and detect hands and places landmarks. By using NumPy, OpenCV, and pycaw (Python Core Audio Windows Library), we are able to change the volume of the device based on the distance between the thumb landmark and the index finger landmark.
Made by: Nathan Xie
- Python
- OpenCV
- MediaPipe
- NumPy
- pycaw
To get a local copy up and running follow these simple example steps.
All libraries are located in requirements.txt.
- pip
pip install -r requirements
- Clone the repo
git clone https://github.com/na3th9n/Remote-less-Remote.git
- Install libraries
pip install -r requirements.txt
- Run VolumeControl.py
N/A
Linkedin: Linkedin
Email: na3than.xie@gmail.com
Project Link: N/A
N/A
Hand Tracking:
- when the mp packing is tracking hands, it creates landmarks across the hands (dots) to detect the motion and where the image is
- all the landmarks have unique ids and also position on the screen