Image recognition
8 commands. Toolkit id ooa.image.
| Command | What it does |
|---|---|
| Click image | Find a picture on the screen (optionally waiting for it, in a region, or its n-th appearance) and click it with the chosen button at its centre, corner or an offset. |
| Compare images | Compare two pictures pixel by pixel: whether they are the same, how much differs, where, and optionally a copy of the first with the changes in red. |
| Find image in image | Look for a small picture inside a larger image file, optionally in a region and for its n-th appearance; returns the point of the match. |
| Find image on screen | Look for a picture on the screen, optionally in a region and for its n-th appearance; returns the point of the match. |
| Image is in image file | True when the picture appears inside an image file. |
| Image is on screen | True when the picture is visible on the screen, or inside one window, within the tolerance. |
| Wait for image | Wait until a picture appears on the screen, or disappears from it, checking a region at a chosen interval (IMAGE.NOT_FOUND after the timeout). |
| Wait for screen change | Wait until a region of the screen changes (e.g. a result appears), or until it stops changing (e.g. a page or application has finished drawing). |