0

Hand Tracking Volume Control

A real-time hand-gesture volume control using Python, MediaPipe, and OpenCV.

Overview

Developed a hand-tracking volume control system using Python, MediaPipe, and OpenCV.
The system dynamically adjusts the audio volume based on the distance between the index finger and thumb, and mutes when the pinky finger is closed.

Features

  • Dynamic Volume Adjustment:
    Calculates the positional difference between index and thumb to set the system volume in real time.
  • Pinky Mute Gesture:
    Detects when the pinky finger closes to instantly mute or unmute audio.
  • User-Friendly GUI:
    • Displays current volume level as a numeric value
    • Renders a live volume bar that moves fluidly
    • Shows real-time hand tracking video feed
    • Provides clear indicators for recognized gestures

Built With

Getting Started

git clone https://github.com/yourusername/hand-tracking-volume-control.git
cd hand-tracking-volume-control
pip install -r requirements.txt
python main.py