https://github.com/vaibhav-kesarwani/gesture-volume-detector
👋 Welcome to the Gesture Volume App Repository!
https://github.com/vaibhav-kesarwani/gesture-volume-detector
artificial-intelligence machine-learning machine-learning-algorithms mediapipe opencv python3
Last synced: 8 months ago
JSON representation
👋 Welcome to the Gesture Volume App Repository!
- Host: GitHub
- URL: https://github.com/vaibhav-kesarwani/gesture-volume-detector
- Owner: Vaibhav-kesarwani
- License: mit
- Created: 2024-05-17T13:23:54.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2024-06-08T11:09:55.000Z (over 1 year ago)
- Last Synced: 2024-12-31T21:28:12.764Z (10 months ago)
- Topics: artificial-intelligence, machine-learning, machine-learning-algorithms, mediapipe, opencv, python3
- Language: Python
- Homepage: https://github.com/Vaibhav-kesarwani/Gesture-volume-detector
- Size: 27.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Gesture Volume Controller 💻🖐️🔊
## Overview
This project implements a Gesture Volume Controller using OpenCV and MediaPipe libraries. With this application, users can control the volume of their system by making gestures with their hands in front of a webcam. It utilizes hand tracking and gesture recognition techniques to interpret hand movements and adjust the volume accordingly.## Features
- **Hand tracking:** Utilizes the MediaPipe library to detect and track hand movements in real-time.
- **Gesture recognition:** Recognizes predefined gestures to control volume adjustments.
- **Volume control:** Adjusts the system volume based on the detected gestures.
- **User-friendly interface:** Simple and intuitive interface for easy interaction.## Requirements
- Python 3.x
- OpenCV
- MediaPipe
- NumPy## Demo
[](https://github.com/Vaibhav-kesarwani/Gesture-volume-detector/assets/116189379/f838d78f-b4df-4172-b7c7-54a01e25a2d5)
## Usage
1. Run the `VolumeHandControl.py` script.
2. Position your hand in front of the webcam.
3. Make predefined gestures to control volume adjustments.
4. Enjoy controlling the volume with gestures!## Gestures
The following gestures can be used to control volume:
- **Thumb and Index Finger Pinch**: Increase or decrease volume by moving fingers apart or closer together.
- **Thumb Raised**: Mute or unmute volume.## Troubleshooting
If you encounter any issues or unexpected behavior:
- Ensure that your webcam is properly connected and recognized by your system.
- Check the lighting conditions in your environment, as poor lighting can affect hand tracking performance.
- Make sure there are no obstructions or distractions in the webcam's field of view.## Setup
Follow these steps to set up the project locally:
### 1. Clone the Repository
```bash
https://github.com/Vaibhav-kesarwani/Gesture-volume-detector
```### 2. Navigate to the Project Directory
```bash
cd Gesture-volume-detector
```### 3. Install Dependencies
```bash
pip install -r
```### 4. Run the App
```bash
python VolumeHandControl.py
```## Contributing
Contributions are welcome! If you'd like to contribute to this project, please follow these steps:
- Fork the repository
- Create a new branch (git checkout -b feature)
- Make your changes
- Commit your changes (git commit -am 'Add new feature')
- Push to the branch (git push origin feature)
- Create a new Pull Request## License
This project is licensed under the MIT License - see the [LICENSE](https://github.com/Vaibhav-kesarwani/Gesture-volume-detector/blob/master/LICENSE) file for details.## Acknowledgements
- [Mediapipe](https://ai.google.dev/edge/mediapipe/solutions/guide) - for providing the face detection functionality
- [OpenCV](https://opencv.org/) - for image and video processing## Contact
If you have any questions or suggestions, feel free to reach out to me at [PORTFOLIO](https://vaibhavkesarwani.vercel.app).
### Happy Coding! 😊👀