← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #249164]: get.text() printing nothing

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
--- general comment
 Settings.MinSimilarity=0.5;
not recommended. Images should be found with a score higher than 0.8 or even 0.9.
Minimum similarity below 0.7 dramatically increase the risk for false positives.

--- reg,text() not returning anything
two most possible reasons:
- the font is not readable for Sikuli
- the reg contains too much graphics besides the text

A good idea is, to check the readability in the IDE first:
print "#" + selectRegion().text() + "#"

and interactively capture the minimum region around the text.

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