Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

airpiano

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

airpiano

airpiano

  • 0.0.8
  • PyPI
  • Socket score

Maintainers
1

What is airpiano?

Open in Code Ocean

takefuji (2022) airpiano for playing piano in the air [Source Code]. https://doi.org/10.24433/CO.8862673.v1

This is under review.

airpiano has been downloaded by 23337 downloads worldwide as of Feb.12, 2024.

When the paper is accepted, the contents of the air piano will be disclosed. airpiano is a Python program to play airpiano composed of 123 lines code. You can play 10 music notes by th right hand of five fingers. airpiano is based on the-state-of-the-art hand gesture recognition using mediapipe. airpiano uses musicalbeeps for generating music sounds by five fingers. The paper on airpiano is under submission. If the paper is accepted, the source code will be disclosed.

Hand landmarks detected by MediaPipe are composed of 21 points in 2D image coordinates.

hand_landmarks

https://mediapipe.dev/images/mobile/hand_landmarks.png

Watch the video

airpiano DEMO

"twinkle twinkle little star" https://youtu.be/7KCmVyRpSCo

"Mary had a little lamb" https://youtu.be/3J5xjW66MP8

"Tulip" https://youtu.be/H7lwHb69ZgM

"buzz buzz buzz" https://youtu.be/oG3_ZsW3XrQ

"The Cuckoo" https://youtu.be/evyfpph-WOY

How to install airpiano

Python3.7 or Python3.8 is recommended for running airpiano. In order to run airpiano, the following libraries must be installed.

$ pip install musicalbeeps

$ pip install mediapipe

$ pip install airpiano

$ pip install airpiano --force-reinstall --no-cache-dir --no-binary :all:

How to play airpiano

Moving thumb finger plays C5 note.

Moving index finger plays D5 note.

Middle finger plays E5 note.

Ring finger plays F5 note.

Little finger plays G5 note.

Moving thumb finger deeply plays A5 note.

Moving thumb finger deeply and index finger plays B5 note.

Moving thumb finger deeply and middle finger plays C6 note.

Moving thumb finger deeply and ring finger plays D6 note.

Moving thumb finger deeply and little finger plays E6 note.

$ airpiano

FAQs


Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc