7. Vision SensorsΒΆ
Every page so far has treated the OpenMV Cam as a small microcontroller that happens to have a camera attached. Vision sensors swaps the framing: the camera is the product, and everything else on the board exists to feed pixels out of it into Python.
The csi module is the bridge. A single class
(CSI) wraps the long chain of physics and
silicon between photons and a buffer. A lens focuses the
scene onto a grid of photodiodes that turn photons into
charge; an exposure / gain / read-out controller decides
how brightly each pixel is reported; an image signal
processor (ISP) corrects, debayers, colour-grades, and
packs the pixels into a chosen format; and an MCU
peripheral catches the resulting stream into RAM, ready
for snapshot() to return as an
image.Image.
Sensor
Colour and the ISP
Image formats
Advanced
Wrap up