Skip to content

shellkore/GestureMusicPlayer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gesture Music Player

Command music player (for now only VLC) with simple hand gestures. Supported commands:

  • play
  • pause
  • next track
  • previous track
  • volume up (+10%)
  • volume down (-10%)

Imgur

How it works

  • Get image from camera
  • Convert to gray scale
  • Blur the image reduce noise (details of the image are unimportant)
  • Use threshold (low pass filter) to get black and white image
  • Analyze the received shape to find convex hull/convexity defects
  • If in debug mode display visuals
  • Send some info to Tk control window

Requirements

  • Run requirements.txt

    pip install -r requirements.txt

Pip-installable list:

numpy
vlc-ctrl

Tested on:

openSUSE

Credits and links

About

Control music player with hand gestures

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 99.4%
  • HTML 0.6%