← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #700981]: Is it possible with sikuli to take a screenshot, within the screenshoted image create a rectangle around the text then read that text or text?

 

Question #700981 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/700981

    Status: Answered => Open

Emmanuel Mbambo is still having a problem:

In java do you call regionOfImage as a pattern then find the region within the image methods available?

Pattern p = new Pattern("someImage.png"); 
Region mainImage = find("p);
int w = mainImage.getWidth();
int h = mainImage.getHeight();
Region textRegion = new Region(w/4,h/4,w/2,h/2);

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