0MeMo07 / Opencv-Spotify-Open

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

License:MIT License


Languages

Language:Python 100.0%