Skip to content

This repository contains code for a real-time hand gesture recognition system using MediaPipe and OpenCV. The project enables users to control music playback by detecting hand gestures captured through a webcam.

License

Notifications You must be signed in to change notification settings

Sgvkamalakar/Hand-Gesture-Music-Player

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Hand Gesture Music Player

Hand Gesture Music Player

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.

Features

  • 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.

Requirements

  • Python 3.x
  • OpenCV
  • MediaPipe
  • Pygame

Installation

  • Clone the repository git clone https://github.com/Sgvkamalakar/Hand-Gesture-Music-Player.git

  • Requirements pip install -r requirements.txt

Usage

  • 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.

License

This project is licensed under the MIT License.

Connect with me

Acknowledgements

About

This repository contains code for a real-time hand gesture recognition system using MediaPipe and OpenCV. The project enables users to control music playback by detecting hand gestures captured through a webcam.

Topics

Resources

License

Stars

Watchers

Forks

Languages