sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #02838
[Bug 777660] Re: text recognition errors with some fonts
*** This bug is a duplicate of bug 710586 ***
https://bugs.launchpad.net/bugs/710586
If I know the exact font used, is it somehow possible to select this
font?
I understand that Tesseract is used as underlying library. Is there a
way to communicate font parameters to it? If I understand correctly, it
will also require some data files with analysis of specified font and
mapping to character set.
--
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/777660
Title:
text recognition errors with some fonts
Status in Sikuli:
New
Bug description:
Our app has a default set to use Tahoma for certain display elements
to guarantee that japanese and chinese characters are properly
rendered on the app.
When I use sikuli on Windows (rc2) text recognition with the font set to Tahoma (11).
It fails to find certain text, mainly letter combinations involving an 'l'.
Examples include: ClearBits, and Playlists. I assume it's because the character spacing in so close together.
To reproduce:
1. Launch Miro (nightly or beta build from http://nightlies.pculture.org)
2. Launch Sikuli IDE
3. Try find("ClearBits") or click("Playlists")
Result: recognition fails - even if searching in a very limited region.
4 Try find("Bits") or 'lists'
Result: recognition successful.
Additional info - I had similar text recognition issues using the default Ubuntu font on linux maverick, however I was able to workaround by changing the system font preferences to something more machine readable.
References