Added Gesture Based Volume Control Project
Pull Request for PyVerse 💡
Issue Title : Gesture-Based Volume Control
- Info about the related issue (Aim of the project) : The aim of this project is to develop a system that allows users to control the volume of a device using hand gestures made with the right hand’s index finger and thumb.
- Name: Rohit Motwani
- GitHub ID: Rohit131313
- Email ID: [email protected]
- Idenitfy yourself: (Mention in which program you are contributing in. Eg. For a WoB 2024 participant it's,
WoB Participant) Contributor at GSSoC-extd and Hacktoberfest
Closes: #288
Describe the add-ons or changes you've made 📃
I have developed a Gesture-Based Volume Control system that enables touchless volume control using hand gesture recognition. The key features include:
- Gesture Recognition: Detects the thumb and index finger movements.
- Real-Time Processing: Processes the video feed in real-time to track the gestures.
- Volume Mapping: Maps the gestures (pinching or separation) to volume control functionality.
Type of change ☑️
What sort of change have you made:
- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Code style update (formatting, local variables)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
How Has This Been Tested? ⚙️
The Gesture-Based Volume Control project can be tested locally through the following steps:
-
Clone the Repository:
After cloning the repository using:git clone https://github.com/UTSAVS26/PyVerse.gitNavigate to the
Data_Science/Gesture_Based_Volume_Controldirectory to set up the environment. -
Install Dependencies:
Install the necessary dependencies using the command:pip install -r requirements.txt -
Run the Project:
Execute the project with:python VolumeHandTracking.pyThis will launch the gesture-based volume control application, which processes real-time video feed to detect hand gestures.
-
Test Gesture Controls:
- Volume Control: Using the right hand’s thumb and index finger, the volume can be controlled by pinching or separating the fingers. Pinching reduces the volume, while separating increases it.
- Real-Time Response: Tested how the system tracks gestures in real-time and adjusts the volume accordingly.
These steps confirm that the application works as intended, with accurate hand gesture recognition and smooth volume control based on thumb and index finger movements.
Checklist: ☑️
- [x] My code follows the guidelines of this project.
- [x] I have performed a self-review of my own code.
- [x] I have commented my code, particularly wherever it was hard to understand.
- [x] I have made corresponding changes to the documentation.
- [x] My changes generate no new warnings.
- [x] I have added things that prove my fix is effective or that my feature works.
- [x] Any dependent changes have been merged and published in downstream modules.
👋 Thank you for opening this pull request! We're excited to review your contribution. Please give us a moment, and we'll get back to you shortly!
Feel free to join our community on Discord to discuss more!
@Rohit131313 there is some merge conflicts please sync your repo.