Create label definitions table from label definition creator object for lidar workflow
creates a label definitions table, labelDefs
= create(ldc
)labelDefs
, from the labelDefinitionCreatorLidar
object
ldc
. You can import the labelDefs
table into the
Lidar Labeler app to label ground truth lidar data.
Create an empty labelDefinitionCreatorLidar
object.
ldc = labelDefinitionCreatorLidar;
Cuboid
label, Vehicle
, to the label definition
creator object.
addLabel(ldc, 'Vehicle', 'Cuboid', 'Description', 'Use this label for Cars and buses.')
Add a logical
attribute, IsCar
, to the
Vehicle
label.
addAttribute(ldc,'Vehicle','IsCar','logical',true,'Description','Type of vehicle')
Create a label definitions table from the definitions stored in the object.
labelDefs = create(ldc)
labelDefs = 1×6 table Name Type LabelColor Group Description Hierarchy ___________ ______ __________ ________ ______________________________________ ____________ {'Vehicle'} Cuboid {0×0 char} {'None'} {'Use this label for Cars and buses.'} {1×1 struct}