arducam
Description
This object connects MATLAB® to the cameras connected to ArduCam Multi Camera Adapter Module on the Raspberry Pi® hardware. To interact with the cameras on the module, use the Object Functions. Raspberry Pi Blockset currently supports ArduCam Multi Camera Adapter Module V2.2. You can use the V2.2 module to connect up to four cameras to a single Raspberry Pi board. This module supports sequential acquisition from all four cameras. Raspberry Pi Blockset supports 5MP OV5647 cameras, and these cameras are compatible with ArduCam Multi Camera Adapter Module.
Note
To generate C/C++ code for this object and its associated functions, you must have an Embedded Coder® license.
Creation
Description
connects MATLAB to the module attached to the Raspberry Pi board. The aCamObj = arducam(mypi,moduleName)moduleName argument sets the
moduleName property.
also sets the Resolution and SelectedCamera properties using
one or more optional name-value arguments.aCamObj = arducam(mypi,moduleName)
Input Arguments
Properties
Object Functions
record | Record video from camera board or ArduCam Multi Camera Adapter Module camera |
stop | Stop recording from camera board or selected camera on ArduCam Multi Camera Adapter Module |
snapshot | Capture latest RGB image frame from Camera Board or selected camera on ArduCam Multi Camera Adapter Module |
readFrame | Return oldest image frame from board, web, or ArduCam module camera |
selectCamera | Select camera on ArduCam Multi Camera Module |
Examples
Extended Capabilities
Version History
Introduced in R2023b