Interface ImageMatchResult

Result of a successful template image match on screen.

interface ImageMatchResult {
    x: number;
    y: number;
    score: number;
}

Properties

Properties

x: number

X coordinate of the center of the matched region.

y: number

Y coordinate of the center of the matched region.

score: number

Correlation score between 0 and 1. Higher means a better match.