Sgvkamalakar / Hand-Gesture-Music-Player

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.

Home Page:https://hand-gesture-music-player.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

https://hand-gesture-music-player.vercel.app

License:MIT License


Languages

Language:Python 100.0%