visionvision.match

Visual Match

Match one or more saved template images on the current screen.

Inputs

4
InputValue typeRequirementAccepted sources
TemplatesassetIdsSaved template image IDs used for matching. Value type: array of asset IDs. Literal only.arrayRequiredliteral
Min scoreminScoreRequired match confidence threshold. Value type: number, usually 0.0 to 1.0. Higher is stricter.numberRequiredliteral
Match modematchModeTemplate matching mode. Value type: string. Literal only; valid editor options include color, gray, edge, and detail.stringRequiredliteral
ROIroiScreen-ratio rectangle that limits the match area. Value type: rect with x, y, width, height in 0..1 coordinates.rectRequiredliteral

Outputs

9
Output pathValue typeCoordinate space
data.bestobject
data.best.scorenumber
data.best.assetIdstring
data.best.assetNamestring
data.best.centerpointscreenRatio
data.best.center.xnumberscreenRatio
data.best.center.ynumberscreenRatio
data.best.rectrectscreenRatio
data.itemsarray

Runtime support

DesktopSupported
Android AgentSupported