Set up validation (optional)
In the labeling apps, the checkSetup
method checks the
validity of the setup when you click Run in an automation
session. If checkSetup
returns true
, then the setup
is valid and the app proceeds to run the automation algorithm by using the initialize
, run
, and terminate
methods.
Clients of AutomationAlgorithm
can optionally
implement this method.
additionally provides a table, isReady
= checkSetup(algObj
,labelsToAutomate
)labelsToAutomate
, that contains
labels selected for the automation algorithm to use for labeling. This syntax does
not support pixel label automation. In addition, this syntax is available only for
time-dependent (temporal) automation algorithms. The Ground Truth Labeler (Automated Driving Toolbox) (requires
Automated Driving Toolbox™) and Video
Labeler apps support temporal algorithms but the Image
Labeler does not. For more information on these types of algorithms, see
Temporal Automation Algorithms.