What would be the best camera module or image sensor for these requirements:
I want to detect movement at points along a wide (1m) and very narrow (1cm) area, from about 30cm distance. I think about 1x400 pixel resolution is ok. End-to-end latency needs to be very low, preferrably <5 ms. Both frame rate and latency are important.
The project goal is to create a MIDI keyboard out of an old traditional piano, by a camera visually detecting the movement of the felted "hammers" that hit the strings in the piano when a key is pressed. Acceptable latency end-to-end including sending the "key down" MIDI message is <10 ms. The camera is to be placed inside the piano about 30cm above the row of hammers facing down. To improve visual contrast, the hammers could be spray painted black and equipped with reflex tape on top, and a bright LED can be placed beside the camera. While this is possible to achieve with mechanical or electromagnetic sensors, a visual approach is less invasive and easier to install. Since only a single pixel row needs to be monitored, this should be possible with a teensy, provided I can find the right camera module.
I want to detect movement at points along a wide (1m) and very narrow (1cm) area, from about 30cm distance. I think about 1x400 pixel resolution is ok. End-to-end latency needs to be very low, preferrably <5 ms. Both frame rate and latency are important.
The project goal is to create a MIDI keyboard out of an old traditional piano, by a camera visually detecting the movement of the felted "hammers" that hit the strings in the piano when a key is pressed. Acceptable latency end-to-end including sending the "key down" MIDI message is <10 ms. The camera is to be placed inside the piano about 30cm above the row of hammers facing down. To improve visual contrast, the hammers could be spray painted black and equipped with reflex tape on top, and a bright LED can be placed beside the camera. While this is possible to achieve with mechanical or electromagnetic sensors, a visual approach is less invasive and easier to install. Since only a single pixel row needs to be monitored, this should be possible with a teensy, provided I can find the right camera module.