Hi everyone!
I'm having problems to use the confidence of words.
I use this method of baseapi.cpp:
char* TessBaseAPI::GetUTF8Text()
and after, I use this one:
int* TessBaseAPI::AllWordConfidences()
But the size of the array returned by AllWordConfidences() isn't the same always. With the same sentence, sometimes have one size and sometimes other size. Why is this? Why can't I match the word confidences with the words of GetUTF8Text()?
Thanks!!