Camera piano: Difference between revisions

From wikiluntti
Line 19: Line 19:
Sonic Pi and command line support:  
Sonic Pi and command line support:  
https://github.com/Widdershin/sonic-pi-cli
https://github.com/Widdershin/sonic-pi-cli
Open music


=== Image detection ===
=== Image detection ===

Revision as of 11:39, 28 January 2021

Introduction

Create a musical instrument (piano) using the camera of Raspberry Pi.

File:RaspiPianoCameraOnTop.svg

Camera view and the idea from top.
The side view, and possible dimensions.

Theory

Cameras

https://www.raspberrypi.org/documentation/hardware/camera/ H=53.50° V=41.4°

https://raspberrypiwiki.com/RPi_Wide_Angle_Camera_Module_OV5647 D=148° H=118°

Music

Sonic Pi and command line support: https://github.com/Widdershin/sonic-pi-cli

Open music

Image detection

Huskylens OpenMu.io??

Python Opencv2 library.