CameraData
Description
The CameraData
object stores a sequence of camera
data.
Creation
Syntax
Description
creates
an empty camData
= scenariobuilder.CameraDataCameraData
object, camData
.
creates a camData
= scenariobuilder.CameraData(timestamps
,frames
)CameraData
object, camData
, with the Timestamps
and
Frames
properties set by the timestamps
and
frames
arguments, respectively. Additionally, this syntax sets the
SampleRate
, SampleTime
,
TimeDuration
, and NumSamples
properties.
creates a camData
= scenariobuilder.CameraData(video
)CameraData
object, camData
, containing image data extracted from the specified
video video
.
sets writable properties using one or more name-value arguments. For example,
camData
= scenariobuilder.CameraData(___,Name=Value
)Name="camera1"
specifies the name of the camera sensor as
"camera1"
.
Note
This object requires the Scenario Builder for Automated Driving Toolbox™ support package. You can install the Scenario Builder for Automated Driving Toolbox support package from the Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.
Input Arguments
Properties
Object Functions
add | Add data to camera data object |
remove | Remove data from sensor data object |
read | Read data from sensor data object |
copy | Create copy of sensor data object |
crop | Crop data from sensor data object |
synchronize | Synchronize sensor data with reference sensor information |
play | Play video from camera data object |
datastore | Create datastore from sensor data object |
normalizeTimestamps | Normalize timestamps of sensor data object |
Examples
Version History
Introduced in R2024b