← Back to team overview

sikuli-driver team mailing list archive

[Bug 735434] Re: X-1.0rc2: Text extraction from Images fails in some cases on colored backgrounds

 

I am also facing the issue but there is no variance in background. It is
just black and white space chars.

On the screen, the text is:
What city were you born in?

But when extracted the text from the screen, the text is:
what my were you born nn?

My code to extract questions: //png contains the snapshot of all questions in the page
--------------------------------------------
Iterator<Match> match = s.findAll("D:/Cygnets_CVS/qa/QAIndia/xyz_Automation/ft/src/main/java/com/arcot/test/mobile/android/imgs/QnAPage2.png");
Thread.sleep(1000);	
qlist=match.next().text();
System.out.println(l + ": " + qlist);

-- 
You received this bug notification because you are a member of Sikuli
Drivers, which is subscribed to Sikuli.
https://bugs.launchpad.net/bugs/735434

Title:
  X-1.0rc2: Text extraction from Images fails in some cases on colored
  backgrounds

Status in Sikuli:
  New

Bug description:
  I need to fetch numbers from different labels having different colors for the purpose of validation.
  While doing so, Sikuli extracts numbers only from few labels(having similiar color shades). 
  So,I believe extraction got failed due to the color shades behind the numbers.
  Kindly provide a fix/ add this feature in upcoming release.



References