Used in the recognition success branch in the UI.
Syntax
RecognitionThis class cannot be constructed directly.
Parameters
None
Returns
—Behavior / side effects
Used in the recognition success branch in the UI. Recognition.result returns the Match for one recognition target or MatchList when multiple targets matched.
Execution
- Blocking: Conditional
- Thread safety: Not guaranteed
- Parallel execution: Conditional
Execution cost and waits depend on the documented operation. Keep mutable values in their owning flow; sharing arbitrary objects between flows has no general thread-safety guarantee.
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)Errors / limitations
No additional limitations documented; follow the parameter and behavior contract above.
Related APIs
None
Fields
| Name | Description |
|---|---|
resultMatch | MatchList | The active recognition result for this Success branch. |
Field example
current = Recognition.result
if current.found:
click(current, random=0)