Recognition

Used in the recognition success branch in the UI. Recognition.result returns the Match for one recognition target or MatchList when multiple targets matched.

Syntax

Recognition

This class cannot be constructed directly.

Returns

—

Example

# Recognition is only available in Python for the Recognition success branch.
a = Recognition.result
if a.found:
    a.highlight(color="yellow", auto_hide_ms=800)

Fields

NameDescription
resultMatch | MatchList
The active recognition result for this Success branch.
Field example
current = Recognition.result
if current.found:
    click(current, random=0)