airpiano


Nameairpiano JSON
Version 0.0.8 PyPI version JSON
download
home_pagehttps://github.com/y-takefuji/airpiano
Summaryairpiano
upload_time2024-02-12 07:28:02
maintainer
docs_urlNone
authoryoshiyasu takefuji
requires_python>=3.8
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # What is airpiano? 
[![Open in Code Ocean](https://codeocean.com/codeocean-assets/badge/open-in-code-ocean.svg)](https://codeocean.com/capsule/8694970/tree)

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://github.com/y-takefuji/airpiano/assets/159754486/f6744528-ce37-4aa0-881f-c3f7fb1d185d)


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


[![Watch the video](https://img.youtube.com/vi/7KCmVyRpSCo/maxresdefault.jpg)](https://youtu.be/7KCmVyRpSCo)


# 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



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/y-takefuji/airpiano",
    "name": "airpiano",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "yoshiyasu takefuji",
    "author_email": "takefuji@keio.jp",
    "download_url": "https://files.pythonhosted.org/packages/39/3a/86c2f6c3365bb5ef73bfc60ff219936f845f0cb8846d27d77c8c2c1fc0c0/airpiano-0.0.8.tar.gz",
    "platform": null,
    "description": "# What is airpiano? \n[![Open in Code Ocean](https://codeocean.com/codeocean-assets/badge/open-in-code-ocean.svg)](https://codeocean.com/capsule/8694970/tree)\n\ntakefuji (2022) airpiano for playing piano in the air [Source Code]. https://doi.org/10.24433/CO.8862673.v1\n\nThis is under review.\n\nairpiano has been downloaded by 23337 downloads worldwide as of Feb.12, 2024.\n\nWhen the paper is accepted, the contents of the air piano will be disclosed.\nairpiano is a Python program to play airpiano composed of 123 lines code. \nYou can play 10 music notes by th right hand of five fingers.\nairpiano is based on the-state-of-the-art hand gesture recognition using mediapipe.\nairpiano uses musicalbeeps for generating music sounds by five fingers.\nThe paper on airpiano is under submission.\nIf the paper is accepted, the source code will be disclosed.\n\n\nHand landmarks detected by MediaPipe are composed of 21 points in 2D image coordinates.\n\n![hand_landmarks](https://github.com/y-takefuji/airpiano/assets/159754486/f6744528-ce37-4aa0-881f-c3f7fb1d185d)\n\n\nhttps://mediapipe.dev/images/mobile/hand_landmarks.png\n\n\n[![Watch the video](https://img.youtube.com/vi/7KCmVyRpSCo/maxresdefault.jpg)](https://youtu.be/7KCmVyRpSCo)\n\n\n# airpiano DEMO\n\n\"twinkle twinkle little star\"\nhttps://youtu.be/7KCmVyRpSCo\n\n\"Mary had a little lamb\"\nhttps://youtu.be/3J5xjW66MP8\n\n\"Tulip\" \nhttps://youtu.be/H7lwHb69ZgM\n\n\"buzz buzz buzz\" \nhttps://youtu.be/oG3_ZsW3XrQ\n\n\"The Cuckoo\" \nhttps://youtu.be/evyfpph-WOY\n\n# How to install airpiano\n\nPython3.7 or Python3.8 is recommended for running airpiano. \nIn order to run airpiano, the following libraries must be installed.\n\n$ pip install musicalbeeps\n\n$ pip install mediapipe\n\n$ pip install airpiano\n\n$ pip install airpiano --force-reinstall --no-cache-dir --no-binary :all:\n\n# How to play airpiano\n\nMoving thumb finger plays C5 note.\n\nMoving index finger plays D5 note.\n\nMiddle finger plays E5 note.\n\nRing finger plays F5 note.\n\nLittle finger plays G5 note.\n\nMoving thumb finger deeply plays A5 note.\n\nMoving thumb finger deeply and index finger plays B5 note.\n\nMoving thumb finger deeply and middle finger plays C6 note.\n\nMoving thumb finger deeply and ring finger plays D6 note.\n\nMoving thumb finger deeply and little finger plays E6 note.\n\n\n$ airpiano\n\n\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "airpiano",
    "version": "0.0.8",
    "project_urls": {
        "Bug Tracker": "https://github.com/y-takefuji/airpiano",
        "Homepage": "https://github.com/y-takefuji/airpiano"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "7cc769b05e055aa7d2e7e40e76a0a51e15f3740300c5fda9128b125dbfcef825",
                "md5": "ccafca3db95a4637297f56ca2910112a",
                "sha256": "63e518f4ae2c6413da1f8ee0721c8c64d3362bfeef3c82986f58314a1ed38588"
            },
            "downloads": -1,
            "filename": "airpiano-0.0.8-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "ccafca3db95a4637297f56ca2910112a",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 3981,
            "upload_time": "2024-02-12T07:27:59",
            "upload_time_iso_8601": "2024-02-12T07:27:59.902562Z",
            "url": "https://files.pythonhosted.org/packages/7c/c7/69b05e055aa7d2e7e40e76a0a51e15f3740300c5fda9128b125dbfcef825/airpiano-0.0.8-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "393a86c2f6c3365bb5ef73bfc60ff219936f845f0cb8846d27d77c8c2c1fc0c0",
                "md5": "85beee37f4d3ee95fc8d736f80863ffa",
                "sha256": "3b94f6fa69df5b8d1f08f79eafcf3876d1ca8cd6e08a505b9a1d7a7d25178d59"
            },
            "downloads": -1,
            "filename": "airpiano-0.0.8.tar.gz",
            "has_sig": false,
            "md5_digest": "85beee37f4d3ee95fc8d736f80863ffa",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 3756,
            "upload_time": "2024-02-12T07:28:02",
            "upload_time_iso_8601": "2024-02-12T07:28:02.057533Z",
            "url": "https://files.pythonhosted.org/packages/39/3a/86c2f6c3365bb5ef73bfc60ff219936f845f0cb8846d27d77c8c2c1fc0c0/airpiano-0.0.8.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-02-12 07:28:02",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "y-takefuji",
    "github_project": "airpiano",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "airpiano"
}
        
Elapsed time: 0.20814s