OpenCV is an open-source library that includes several hundreds of computer vision algorithms. OpenCV has a modular structure, which means that the package includes several shared or static libraries.
We have used a HandTracking module that tracks all points on the hand and detects hand landmarks, calculate the distance between thumb tip and index fingertip and maps the distance between thumb tip and index fingertip with brightness range.
To Creating a hand gesture brightness controller the given library you'll need
- Open-CV
- mediapipe
- Screen Brightness Control
- numpy
You can Install those by following these Commands
pip install opencv_python # We will import this library as cv2 . ...
pip install mediapipe
pip install screen_brightness_control
- python-math
This is how the OutPut Looks like
To get more interesting projects follow our GitHub page at Here
To get more interesting projects follow our Bitbucket page at Here