arducam
Add-On Required: This feature requires the MATLAB Support Package for Raspberry Pi Hardware add-on.
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.
MATLAB Support Package for Raspberry Pi Hardware 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. MATLAB Support Package for Raspberry Pi Hardware supports 5MP OV5647 cameras, and these cameras are compatible with ArduCam Multi Camera Adapter Module.
Creation
Description
connects MATLAB to the module attached to the Raspberry Pi board. The
aCamObj
= arducam(mypi
,moduleName
)moduleName
argument sets the moduleName
property.
sets optional name-value arguments. You can use the name-value arguments to control image
resolution and select a camera. aCamObj
= arducam(mypi
,moduleName
,Name=Value
)
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