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
You will need to install such libraries before starting:
- mediapipe
- numpy
- pyglet
-
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