← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #404359]: Reuse single screenshot for many subregion checks

 

Question #404359 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/404359

Description changed to:
Hello!

I tried to find a similar question but I haven't found relevant.

I'm using SikuliX API 1.1.1 on Java. Is there a way to make SikuliX
check subregions of the big image that I provide manually?

This is my case:
I'm running my program on Windows 8.1 OS.
I have many regions on screen to check different things at the same time. And because of that many screen captures occurs.
These screen captures make dwm.exe (Desktop Windows Manager) consume even more CPU than my program.

I made some tests with capturing with "region,getScreen().capture()" and
have noticed that at some point it's much more CPU-effective to capture
the whole screen than many subregions of this screen.

That's why I want to capture whole screen image manually and ask SikuliX
to find target images in subregions of this image. Is it possible?

Thank you.

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.