← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #708602]: how do i get a region based of image file?

 

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

    Status: Open => Answered

Manfred Hampl proposed the following answer:
SikuliX performs actions on the visible screen. If that image is shown on the screen, then you can use Sikulix to act on its region.
If you have an image not visible on the screen, but stored only on disk, and what to search for text in it, then Sikulix is not the right tool for that. You can use OCR programs like tesseract to do that directly. They usually work directly on image files.

(In SIkuliX the following sequence of steps should theoretically work:
Start an image viewer program, load the image such that it is shown on
screen, use SikuliX to do findText on the image.)

Or did I misunderstand your question?

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