Simple computer vision application for hand track in an image. Draw 21 hand landmarks per hand. Read video image with OpenCV. For hand detection use MediaPipe, a pretrained framework by Google.
Extended use of Hand Tracking module for Volume Hand Control. Hand landmarks adjust volume of the Operating System. The volume percentage is controlled by the distance from the tip of pointing finger to thumb. pycaw library allows to set the volume remotely.
# Clone repository
$ https://github.com/albertkuc/HandTracking.git
# Install dependencies
$ pip install -r requirements.txt
Based on YouTube Hand Tracking tutorial and Gesture Volume Control tutorial by Murtaza's Workshop - Robotics and AI.