Get the text position in tesseract Ocr in iphone
问题 Using tesseract I have extract the text iPhone.Now want extract text along with the text position in xml. I uset GetHocrText which retrieves the text in HTML. For eg:- <span class='ocr_word' id='word_3_28' title="bbox 55 226 123 243"> <span class='ocrx_word' id='xword_3_28' title="x_wconf -5">Beverage</span> </span> Is there is any other way to extract text in XML format in tesseract OCR? Thanks in adv Srividya 回答1: The better way to do it is to use ResultIterator; you can use tesseract::RIL