Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Volume Control Using Hand Gesture #530

Merged
merged 8 commits into from
Oct 14, 2024
Merged

Conversation

mjgandhi2305
Copy link
Contributor

Pull Request for PyVerse 💡

Requesting to submit a pull request to the PyVerse repository.

Issue Title

Volume Control using Hand Gesture

  • I have provided the issue title.

Info about the Related Issue

What's the goal of the project?
The aim of this project is to create an innovative, gesture-based volume control system using computer vision and hand tracking technologies. It allows users to adjust their computer's volume by simply moving their hand in front of a webcam, providing an intuitive and touchless interface for audio control.

  • I have described the aim of the project.

Name

Miten Gandhi

  • I have provided my name.

GitHub ID

mjgandhi2305

  • I have provided my GitHub ID.

Email ID

mjgandhi2305@gmail.com

  • I have provided my email ID.

Identify Yourself

GSSOC Extd., Hacktoberfest 2024

  • I have mentioned my participant role.

Closes

Closes: #510

  • I have provided the issue number.

Describe the Add-ons or Changes You've Made

I have implemented a gesture-based volume control system with the following features:

  1. Real-time hand detection and tracking using the Mediapipe library
  2. Custom HandTrackingModule for advanced gesture recognition
  3. Volume control based on the distance between thumb and index finger
  4. Integration with system audio controls using PyCaw
  5. Visual feedback displaying current volume level and hand landmarks
  6. Smooth volume transitions to prevent erratic changes
  • I have described my changes.

Type of Change

  • New feature (non-breaking change which adds functionality)
  • This change requires a documentation update

How Has This Been Tested?

The system has been tested through the following methods:

  1. Manual testing with various hand positions and lighting conditions
  2. Verification of accurate volume changes corresponding to hand gestures
  3. Performance testing to ensure smooth real-time operation
  4. Edge case testing (e.g., no hand in frame, multiple hands)
  5. Testing on different Windows systems to ensure compatibility
  • I have described my testing process.

Checklist

  • My code follows the guidelines of this project.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly wherever it was hard to understand.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • I have added things that prove my fix is effective or that my feature works.
  • Any dependent changes have been merged and published in downstream modules.

Copy link

👋 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!

@github-actions github-actions bot requested a review from UTSAVS26 October 12, 2024 18:32
@UTSAVS26
Copy link
Owner

@mjgandhi2305 keep the .idea folder files in the project folder itself.

@UTSAVS26 UTSAVS26 added Contributor Denotes issues or PRs submitted by contributors to acknowledge their participation. Status: Requested Changes⚙️ Indicates that a reviewer has requested changes to a PR before it can be approved. level1 gssoc-ext hacktoberfest labels Oct 13, 2024
@mjgandhi2305
Copy link
Contributor Author

Kindly check the commit

@mjgandhi2305
Copy link
Contributor Author

Hey, @UTSAVS26 please check the changes

@UTSAVS26 UTSAVS26 merged commit fe64cc3 into UTSAVS26:main Oct 14, 2024
@UTSAVS26 UTSAVS26 added Status: Approved ✔️ PRs that have passed review and are approved for merging. hacktoberfest-accepted and removed Status: Requested Changes⚙️ Indicates that a reviewer has requested changes to a PR before it can be approved. labels Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Contributor Denotes issues or PRs submitted by contributors to acknowledge their participation. gssoc-ext hacktoberfest hacktoberfest-accepted level1 Status: Approved ✔️ PRs that have passed review and are approved for merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Code Addition Request]: Want to add Volume Control Using Hand Gestures
2 participants