Skip to content

This project implements a gesture-based volume control system using hand tracking techniques with OpenCV in Python. By leveraging computer vision algorithms, the system tracks the user's hand movements through a webcam feed and interprets specific gestures to adjust the system volume accordingly.

License

Notifications You must be signed in to change notification settings

sooryaprabhu/Gesture-Based-Volume-Control-using-Hand-Tracking-with-OpenCV-in-Python--Computer-Vision-Project-

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hand Tracking Volume Control(Computer Vision Project)

❗️❗️Note: This code is designed exclusively for controlling volume on macOS. It will not work on Windows or Linux. Sorry for the inconvenience, but feel free to update the code for other platforms. If you’re having trouble, you can also contact me for assistance.

This project utilizes computer vision techniques to track hand movements using the MediaPipe library and OpenCV in Python. It allows controlling system volume by changing the distance between specific hand landmarks detected in real-time. image

The program continuously captures video frames from the webcam and processes them to detect hand landmarks using the MediaPipe Hands model. It calculates the distance between two specific landmarks on the hand (e.g., thumb tip and index finger tip) to adjust the system volume accordingly.

##Requirements

Python 3.x

OpenCV

MediaPipe

PyAutoGUI (for macOS)

NumPy

Usage

Ensure your webcam is connected and functioning properly. Run the Python script, and the webcam window will open, showing your hand with landmarks detected. Adjust the volume by moving your hand closer or further apart, controlling the distance between specific landmarks. Press the 'Esc' key to exit the program

About

This project implements a gesture-based volume control system using hand tracking techniques with OpenCV in Python. By leveraging computer vision algorithms, the system tracks the user's hand movements through a webcam feed and interprets specific gestures to adjust the system volume accordingly.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published