ArrayCat83 / tesseract-android-tools

Automatically exported from code.google.com/p/tesseract-android-tools
0 stars 0 forks source link

Retrieve recognition results as an array of words #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
GetUTF8Text() return a String.
wordConfidences() return a int[].

In order to make sense of the wordConfidences() function, one has to parse the 
text returned by the GetUTF8Text() function into words.

However, I could not get the parsing done correctly. When I try to separate 
words based on spaces or '\n' I get an inconsistent number of words from the 2 
functions.

Help ~~~~~ 0_0

Original issue reported on code.google.com by le.mouli...@gmail.com on 20 Feb 2012 at 9:57

GoogleCodeExporter commented 9 years ago

Original comment by alanv@google.com on 11 Sep 2012 at 8:54

GoogleCodeExporter commented 9 years ago
Added ResultIterator for iterating through results at various levels.

Original comment by alanv@google.com on 22 Sep 2012 at 8:07