Write signal frames for ground truth data to disk
writes the frames of ground truth signal sources to the specified folder locations. The
function returns the names of the files containing the written frames.
fileNames
= writeFrames(gTruth
,signalNames
,location
)fileNames
contains one file name per signal specified by
signalNames
per groundTruthMultisignal
object specified by gTruth
.
Use these written frames and the associated ground truth labels obtained from the
gatherLabelData
function as training data for machine learning or deep
learning models.
specifies the timestamps of the signal frames to write. To obtain signal timestamps, use the
fileNames
= writeFrames(gTruth
,signalNames
,location
,timestamps
)gatherLabelData
function.
specifies options using one or more name-value pair arguments, in addition to any of the
input argument combinations from previous syntaxes. For example, you can specify the prefix
and file type extension of the file names for the written frames.fileNames
= writeFrames(___,Name,Value
)
gatherLabelData
| groundTruthMultisignal
| imformats
| imwrite
| pcwrite
(Computer Vision Toolbox)