Object for storing ground truth labels
The groundTruth
object contains information
about the data source, the list of label definitions, and all marked labels for a set of
ground truth labels. You can export or import a groundTruth
object from the Image Labeler,
Video Labeler,
and Ground Truth Labeler apps. Use of the
Ground Truth Labeler requires Automated
Driving Toolbox™.
To create training data for an object detector from arrays of groundTruth
objects, use the objectDetectorTrainingData
function.
To create training data for a semantic segmentation network from arrays of
groundTruth
objects, use the pixelLabelTrainingData
function.
returns an object containing ground truth labels that can be imported into the
Image
Labeler, Video
Labeler, and Ground Truth Labeler apps. The
gTruth
= groundTruth(dataSource
,labelDefs
,labelData
)dataSource
, labelDefinitions
, and
labelData
inputs set the properties. Label definitions
describe the labels, sublabels, and attributes. Label data contains the
identifying information, position, and timestamps for the labels.
selectLabelsByGroup | Select ground truth data for set of labels by group |
selectLabelsByType | Select ground truth data for a set of labels by type |
selectLabelsByName | Select ground truth data by name |
changeFilePaths | Change file paths in data source and pixel label data of ground truth object |
groundTruth
objects for video-based data
sources rely on the video reading capabilities of your operating system. A
groundTruth
object created using a video
data source remains consistent only for the same platform that was used to
create it. To create a platform-specific groundTruth
object, convert the video into a sequence of
images.