Screen: Find all occurrences of an image on screen

Find all occurrences of an image on screen.

Help Centre › Building Processes

Find all occurrences of an image on screen.

Add it to a process

In the process designer, open the Add step tab. Find Find all occurrences of an image on screen under Screen › Find & Detect, or type its name in the search box, and drag it onto the canvas.

Fields

FieldRequiredWhat it does
VariableYesName of the variable where the result will be stored Default: locations.
Template image pathYesThe file path to the reference image
Match confidenceNoThe minimum match confidence (0-100). Higher values require a closer match Default: 0.9.
Match in greyNoCompare the images in greyscale: faster and not thrown by small colour changes. Turn off when only colour tells two things apart. Default: on.
Search region (x,y,w,h)NoThe screen region to search in (x,y,width,height)

What it gives back

  • {locations} – List of match locations

See all Screen steps.

Errors

ErrorDescription
Image file not foundThe specified image file path does not exist

Tips

  • Use screen-count first to check the expected number of matches before retrieving all locations

Related functions

Get started

See it working on your own data

Everything documented here ships with the platform – try the document tools free, or have your first automation working in 7 days.