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
| Field | Required | What it does |
|---|---|---|
| Variable | Yes | Name of the variable where the result will be stored Default: locations. |
| Template image path | Yes | The file path to the reference image |
| Match confidence | No | The minimum match confidence (0-100). Higher values require a closer match Default: 0.9. |
| Match in grey | No | Compare 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) | No | The screen region to search in (x,y,width,height) |
What it gives back
{locations}– List of match locations
See all Screen steps.
Errors
| Error | Description |
|---|---|
| Image file not found | The specified image file path does not exist |
Tips
- Use screen-count first to check the expected number of matches before retrieving all locations