This project implements a real-time hand gesture recognition system using MediaPipe and Pygame, allowing users to control music playback through hand movements captured by a webcam.
- Hand Gesture Recognition: Utilizes MediaPipe for real-time hand landmark detection.
- Sound Mapping: Associates specific hand gestures with musical sounds.
- Interactive Music Playback: Users can trigger various sounds by performing different hand gestures.
- Pygame Integration: Manages audio playback for an immersive experience.
- Python 3.x
- OpenCV
- MediaPipe
- Pygame
-
Clone the repository
git clone https://github.com/Sgvkamalakar/Hand-Gesture-Music-Player.git
-
Requirements
pip install -r requirements.txt
- Run the main script:
python main.py
- Ensure your webcam is connected and visible to the application.
- Perform various hand gestures as specified to trigger different sounds.
This project is licensed under the MIT License
.