MaxaGRAFA / Virtual-piano

A piano that can be controlled using real-time gestures

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Virtual Piano

You can use your camera and your hands to play the piano in real time. This project was written using mediapipe library for hand position recognition

Setup

You will need to install such libraries before starting:

  • mediapipe
  • numpy
  • pyglet

How to use

  • You need to run the 'main.py' file

  • After this you will see your hand and the piano at the top.

  • To “Press” a piano key, you just need to bring your thumb and index finger together, like this:
  • Now you can make this gesture over the key you want to play. You can also play with two hands

About

A piano that can be controlled using real-time gestures

License:MIT License


Languages

Language:Python 100.0%