← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #679693]: Settings.ImageCallback not working.

 

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

RaiMan proposed the following answer:
the ImageCallback is not implemented for the text/OCR functions.

It only works with exists/wait/find/findAll and there only for the given
images to search for.

In your case you want to manipulate the base image (capture of the
region), that is given to OCR.

You have to implement your own solution

//pseudo code
image = region.capture()
newImage = convert(image)
text = newImage.text()

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