Screen: Count occurrences of an image on screen

Count occurrences of an image on screen.

Help Centre › Building Processes

Count occurrences of an image on screen.

Add it to a process

In the process designer, open the Add step tab. Find Count 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
Template image pathYesThe file path to the reference image
VariableYesName of the variable where the result will be stored Default: count.
Match confidenceNoThe minimum match confidence (0-100). Higher values require a closer match Default: 0.9.
Search region (x,y,w,h)NoThe screen region to search in (x,y,width,height)

What it gives back

  • {count} – Number of matches

See all Screen steps.

Errors

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

Tips

  • Use this function to count items like rows, icons, or notification badges visible on the screen

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.