Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/0memo07/opencv-spotify-open

Application that can open spotify with hand signals using opencv and mediapipe
https://github.com/0memo07/opencv-spotify-open

mediapipe opencv opencv-hand python-opencv spotify webbrowser

Last synced: about 2 hours ago
JSON representation

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

Awesome Lists containing this project

README

        

# 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:
```bash
git clone https://github.com/0MeMo07/Opencv-Spotify-Open.git
1. Go to Opencv-Spotify-Open file:
```bash
cd Opencv-Spotify-Open
2. Install the required libraries by running the following command:
```bash
pip install -r requirements.txt

### Usage

1. Connect a webcam to your computer.
2. Start the program by running the following command:
```bash
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