On this page
vision.target
Returns the highest-score target or null.
Syntax
Atlas Script
vision.target(name?, label?)Parameters
nameOptional- Name used to look up, register, or identify the requested resource.
labelOptional- Optional target-label filter. It matches a target label/text or a class_N identifier.
Return value
Returns target.
Remarks
Returns the highest-score target or null. Supply a configured vision tool to limit the search and optionally filter by label, text, or a class_N ID.
Examples
Usage pattern
// Replace name, label with values described above.
vision.target(name, label);