Validate label definition
In the labeling apps, the checkLabelDefinition
method checks whether each label defined in the ROI Labels and
Scene Labels panes is valid. The method restricts an automation
algorithm to use only relevant labels. For example, a label definition of type
Rectangle
cannot be used to mark a lane boundary.
Clients of AutomationAlgorithm
must implement this
method.
To access the selected label definitions, use the SelectedLabelDefinitions
property of the automation algorithm.
In the labeling apps, the selected label definitions are highlighted in yellow
in the ROI Labels and Scene Labels
panes on the left.
checkSetup
| checkSignalType
| labelType
| vision.labeler.AutomationAlgorithm