Skip to content
This repository has been archived by the owner on Apr 22, 2022. It is now read-only.

antnieszka/GestureMusicPlayer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 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

  • python3
    • Run pip intall -r requirements.txt
  • Tkinter (ussually comes with Python or as a addtional package)

Tested on Linux and Windows

Credits and links