Skip to main content

Find Image in Image (:find_image)

Declaration

x, y = bigImage:find_image(smallImage [, confidence, left, top, right, bottom ])
result = bigImage:find_image(smallImage [, options, left, top, right, bottom ])

Parameters

  • smallImage
    Image object. The template image to search for.

Returns

  • x, y
    Integers. Top-left coordinates of the best match position in the big image.

Notes

Search for a small image inside a big image. Parameters and return values are the same as screen.find_image.
Available in version 1.3.8 and later.