sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #29386
Re: [Question #258158]: find text from image returns garbage values
Question #258158 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/258158
Status: Open => Answered
RaiMan proposed the following answer:
Sorry no.
The current implementation of the text() feature based on Tesseract has many limitations.
In this case it seems to be the font, that cannot be read correctly.
You might experiment with the used region, from which the text is read.
version 1.1.0 allows to directly read text from a given image:
text = Image.text(c)
where c is the image filename from your above snippet in find().
This would allow, to preprocess the given image to make it more suitable for text reading with Tesseract.
For version 1.2 it is planned, to improve the text feature - so for the
next months you have to live with this situation.
--
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.