Working with camera modules
In this section, we explore various camera modules for the Raspberry Pi board. There are many camera models that fit your projects. Camera modules can be reviewed based on what kind of Raspberry Pi interface is used to attach the modules.
Let's explore.
Camera modules based on the CSI interface
The Raspberry Pi camera is the official camera board released by the Raspberry Pi Foundation. This camera can be attached to the Raspberry Pi board through the CSI interface. The Raspberry Pi Foundation also provides another camera model, the Raspberry Pi NoIR Camera. This can work in low light (twilight) environments. A form of Raspberry Pi Camera v2 and NoIR camera v2 can been seen in the following figure:
These modules are official camera devices for Raspberry Pi. To use a camera over the CSI interface, we should enable it on Raspbian. You can configure it using the raspi-config
tool. Just type command on the Raspberry Pi terminal.
$ sudo raspi-config
After execution, you...