Camera piano: Difference between revisions

From wikiluntti
Line 3: Line 3:
Create a musical instrument (piano) using the camera of Raspberry Pi.
Create a musical instrument (piano) using the camera of Raspberry Pi.


File:RaspiPianoCameraOnTop.svg
[[File:RaspiPianoCameraSide.svg|thumb|The side view, and possible dimensions.]]
[[File:RaspiPianoCameraOnTop.svg|thumb|Camera view and the idea from top.]]
[[File:RaspiPianoCameraOnTop.svg|thumb|Camera view and the idea from top.]]
[[File:RaspiPianoCameraSide.svg|thumb|The side view, and possible dimensions.]]


== Theory ==
== Theory ==

Revision as of 14:50, 28 January 2021

Introduction

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

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

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 openmv.io

Python Opencv2 library.