← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #229914]: Changing text size in windows 7 fails to identify image

 

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

    Status: Open => Answered

Kevin Depew proposed the following answer:
It seems to me that this is a built in limiation of a tool that uses
image recognition.

I can propose two workarounds -

1- instead of capturing an image, use sikuli functionality to highlight
the text in question and save it to your clipboard.  Copy clipboard
contents to a variable and then use jpython to compare.

2- wait for the new OCR getText() function to get upgraded in the next
version.  this should let you do ocr on a region and save results as a
variable for comparisons.

hope this helps!

kevin

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.