Skip to content

A python project to control Spotify playback using hand gestures with OpenCV, MediaPipe and Spotipy.

Notifications You must be signed in to change notification settings

sumi-devs/spotify-controller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spotify Controller (Under Construction)

A python project to control Spotify playback using hand gestures with OpenCV, MediaPipe and Spotipy.

Prerequisites

  • Python 3.x
  • Spotify Premium account

Spotify Dashboard Setup

  1. Go to the Spotify Developer Dashboard.
  2. Log in and create a new application.
  3. Note your Client ID and Client Secret.
  4. Set the Redirect URI (e.g., http://127.0.0.1:8888/callback).

Clone the Project

git clone https://github.com/yourusername/spotify-controller.git
cd spotify-controller

Install Dependencies

pip install spotipy opencv-python mediapipe

Configure Credentials

In config.py in the project root:

SPOTIFY_CLIENT_ID=your_client_id
SPOTIFY_CLIENT_SECRET=your_client_secret
SPOTIFY_REDIRECT_URI=http://127.0.0.1:8888/callback

Run the Controller

python main.py

On first run, you will be asked to authenticate your Spotify account.

About

A python project to control Spotify playback using hand gestures with OpenCV, MediaPipe and Spotipy.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages