Skip to content

HarmeetKaur04/HandTrackingVolumeController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

Hand-Tracking Volume Control System

A gesture-based, contactless volume control system that utilizes computer vision and machine learning techniques to track hand movements in real-time and adjust system audio accordingly. The system leverages OpenCV, MediaPipe, and Pycaw to achieve accurate hand tracking and seamless user interaction with the audio settings.

Features

  • Real-time Hand Tracking: Detects and tracks hand movements using MediaPipe’s powerful hand detection model.
  • Gesture-based Volume Control: Adjust the system’s audio volume by moving your hand. The distance between your thumb and index finger controls the volume level.
  • Cross-platform Compatibility: Works on Windows systems where Pycaw can access audio control.
  • Contactless Interaction: Provides a touch-free method for adjusting audio volume, useful in situations requiring hygiene or convenience.

Demo

Here’s a demo of the system in action:
[https://www.linkedin.com/posts/harmeetkaur04_innovation-computervision-machinelearning-activity-7233705243224502273-7SIQ?utm_source=share&utm_medium=member_desktop]

How It Works

  1. Hand Detection: The system captures video input from a webcam and uses MediaPipe to detect hand landmarks.
  2. Distance Measurement: It calculates the distance between the thumb and index finger to determine the volume level.
  3. Volume Adjustment: The calculated distance is mapped to system volume levels using Pycaw.

Installation

Requirements

  • Python 3.7+
  • OpenCV
  • MediaPipe
  • Pycaw

Configuration

-You can adjust sensitivity or change hand gesture configurations in the script under the volume_control.py file.
-Add custom hand gestures or modify the logic to suit your application.

Contributing

Contributions are welcome! Please submit a pull request or open an issue if you find a bug or have a suggestion.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

-OpenCV
-MediaPipe
-Pycaw

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages