readFrame
Return oldest image frame from board, web, or ArduCam module camera
Add-On Required: This feature requires the MATLAB Support Package for Raspberry Pi Hardware add-on.
Syntax
Description
returns the oldest RGB image frame, as obtained from the Raspberry Pi® camera board, as a 3-D image.data = readFrame(mycamera)
[
also returns the timestamp of the oldest image.data,ts] = readFrame(mycamera)
returns multiple RGB image frames, as obtained from the Raspberry Pi camera board, as a 4-D array. The
data = readFrame(mycamera,count)count value specifies the number of
frames, with a maximum allowed value of 10. The oldest image is
returned first. If count =
1, the function returns a 3-D image.
[
also returns the timestamps corresponding to each image
frame.data,ts] = readFrame(mycamera,count)
returns the oldest RGB image frame, as obtained from the web camera
attached to the Raspberry Pi board, as a 3-D image.data = readFrame(wcam)
[
also returns the timestamp of the oldest image.data,ts] = readFrame(wcam)
returns multiple RGB image frames, as obtained from the web camera
attached to the Raspberry Pi board, as a 4-D array. The data = readFrame(wcam,count)count
value specifies the number of frames, with a maximum allowed value
of 10. The oldest image is returned first. If
count = 1, the
function returns a 3-D image.
[
also returns the timestamps corresponding to each image
frame.data,ts] = readFrame(wcam,count)
returns the oldest RGB image frame from the selected camera on
ArduCam Multi Camera Adapter Module as a 3-D array.data = readFrame(aCamObj)
[
also returns the timestamp of the oldest image.data,ts] = readFrame(aCamObj)
returns multiple RGB image frames, as obtained from the selected
camera attached to the ArduCam Multi Camera Adapter Module, as a
4-D array. The data = readFrame(aCamObj,count)count value specifies the number
of frames, with a maximum allowed value of 10. The oldest image is
returned first. If count =
1, the function returns a 3-D image.
[
also returns the timestamps corresponding to each image
frame.data,ts] = readFrame(aCamObj,count)
Examples
Input Arguments
Output Arguments
Extended Capabilities
See Also
raspi | arducam | record | stop | snapshot | selectCamera | getFile | deleteFile