Skip to content

A piano that can be controlled using real-time gestures

License

Notifications You must be signed in to change notification settings

MaxaGRAFA/Virtual-piano

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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