Skip to content

weijie7/Hand-Gesture-Recognition

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Background

This is a hand gesture recognition project that is able to recognize single hand gesture and a sequence of hand gesture to control your spotify music app that runs on your mobile, desktop or smart speaker. In this project, hand landmark detection is built on mediapipe (https://google.github.io/mediapipe/solutions/hands.html). With our hand-crafted feature extractor from hand landmarks, our LSTM model is able to recognize series of your hand gestures to do operation like play, pause, skip track, play certain playlist, control volume, etc.

Installation

  1. conda create --name gesture_env python=3.7
  2. conda activate gesture_env
  3. pip install -r requirements.txt

Spotify Setup

  1. Open setup.txt
  2. Configure your client_id and client_secret. You can request your spotify client ID and secret from https://developer.spotify.com/dashboard/login
  3. Configure your device_name

Run

python main.py

How to operate

  1. Next Track
  • Hold out your palm. Swipe from left to right to skip to next track next track
  1. Previous Track
  • Hold out your palm. Swipe from right to left to back to previous track previous track
  1. Control volume
  • Do a fist, control volume with your thumb and index finger volume
  1. Other controls by Gesture Sequence:
  • To be established

Contributor & Credits:

@tyseng92 @marcusyatim

About

Using hand gesture to control spotify app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages