Is it possible to find bold text using Sikuli?

Asked by Glenna

Is it possible to use Sikuli to detect bold text? I've searched but seems like nobody has tried it yet.

Question information

Language:
English Edit question
Status:
Solved
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Solved by:
Eugene S
Solved:
Last query:
Last reply:
Revision history for this message
Eugene S (shragovich) said :
#1

Hi,

Not sure what are you asking exactly.
Theoretically, all text can be detected using the embedded Tesseract engine, however there are known issues with computer rendered text, especially small characters (like these here for example). And yes, bolder text has a better chance to be detected properly.

Cheers,
Eugene

Revision history for this message
Glenna (x-jingge) said :
#2

Hi Eugene,

Sorry I should have given more information about my problem. Let's say there is a complete sentence with just one bold word, would Sikuli be able to detect that word and extract it?

Thanks,

Revision history for this message
Best Eugene S (shragovich) said :
#3

If you mean to detect which one of the words is bold - then definitely no. The detection process is tricky by itself and correct detection does not always happen, so the distinction between regular and bold words is not even an option.

Revision history for this message
Glenna (x-jingge) said :
#4

Thanks Eugene S, that solved my question.