Skip to content

0MeMo07/Opencv-Spotify-Open

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Opencv-Spotify-Open

This code allows you to open Spotify with your hands following using the Mediapipe and OpenCV libraries.

Requirements

  • Python 3.x
  • cv2 (OpenCV)
  • mediapipe
  • webbrowser

Make sure you have installed the above requirements.

Installation

  1. download this code:
    git clone https://github.com/0MeMo07/Opencv-Spotify-Open.git
  2. Go to Opencv-Spotify-Open file:
    cd Opencv-Spotify-Open
  3. Install the required libraries by running the following command:
    pip install -r requirements.txt
    

Usage

  1. Connect a webcam to your computer.
  2. Start the program by running the following command:
    python SpotifyHandOpen.py
  3. Keep your hands within the camera frame.
  4. Make a touch gesture by bringing your thumb in contact with the tip of your index finger.
  5. Every third touch, the program will automatically open Spotify and navigate to the playlists.
  6. Press 'q' on the keyboard to exit the program.

Support me

Buy Me A Coffee

About

Application that can open spotify with hand signals using opencv and mediapipe

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages