Sikuli text recognition not returning correct text

Asked by Jason

Here is my code:
Region pattern = Region.create(329, 813, 1260, 85);
pattern.highlight(5,"red");
String text = pattern.textLine();
System.out.println(text);

I have restricted the region so it only reads the text i wanted, validated through highlighting the area. However when I read the text, the expected text should be "Disconnect Finished", but it is returning "B)Tee lea a LLL)". Is there any fix on this?

thank you

Question information

Language:
English Edit question
Status:
Expired
For:
SikuliX Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Launchpad Janitor (janitor) said :
#1

This question was expired because it remained in the 'Open' state without activity for the last 15 days.