Thanks.
After I read the page, I think the related example is this one: "Example of iterator over the classifier choices for a single symbol" However, I suspect the example does not apply to the general situation. Here are some lines from the example: tesseract::TessBaseAPI *api = new tesseract::TessBaseAPI(); api->Recognize(NULL); It set Recognize(NULL), which seems, in the source code, not to use the page iterator or other iterators, so it assumes something like that the number of the word is one. The related line is: stats_.word_count = 1; On the other hand, if I refer to the case in GetHOCRText, it is much more complex. It considers RIL_BLOCK, RIL_PARA, RIL_WORD, It seems the two strategies used in the example and the function GetHOCRText are totally different. On Saturday, October 26, 2013 7:20:23 AM UTC-5, Quan Nguyen wrote: > > ResultIterator, perhaps. > > http://code.google.com/p/tesseract-ocr/wiki/APIExample > > > > On Friday, October 25, 2013 6:03:42 PM UTC-5, Linda Li wrote: >> >> Is there a similar (simple) way to deprecated >> getCharacters().getBoxRects() in TesseractOCR 3.02? >> >> I take a look at the function of GetHOCRText, and think I could make my >> own program to get boxrects of characters, but it need many lines. Before I >> proceed, I would like to use an existing wheel. >> >> I do not understand why the function is deprecated, while no replacement? >> Because it is not accurate, as stated in the comments in the source code? >> But my experience shows it is fine. >> > -- -- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/tesseract-ocr?hl=en --- You received this message because you are subscribed to the Google Groups "tesseract-ocr" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.

