Question

I have an image. Let's say it's this image:

a golden cookie

It doesn't have to be this image, but for my current purposes... It's (sadly for my sanity) this image.

I want to detect when this image is on screen... but not just this image, I want to detect all of the different 90 degree increment rotations.

What is the most appropriate (in the sense of code and especially of resource economy) way of doing this through the facilities available via Sikuli IDE (v 1.0.1, Ubuntu)?

Was it helpful?

Solution

It doesn't seem to be available with current Sikuli features. You can find a similar question here, on Sikuli Launchpad.

You can use an external image processor like ImageMagic, to rotate your captured pictures and save them as samples that you can use in an exists() loop.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top