com.aspose.ocr.core.publicapi
Interface IRecognizedText


public interface IRecognizedText

This interface is for work with recognized text. The result may be in multiple formats (plain text, array parts with details on each, in the hOCR format).


Method Summary
 IRecognizedTextPartInfo[] getPartsInfo()
          Gets an array of recognized text by parts.
 String toString()
          Gets whole recognized text without formatting.
 

Method Detail

toString

String toString()
Gets whole recognized text without formatting. It is concatenation texts from parts.

Overrides:
toString in class Object
Returns:
Whole recognized text without formatting *

getPartsInfo

IRecognizedTextPartInfo[] getPartsInfo()
Gets an array of recognized text by parts. Each part has its own style, font, text size, color, language and more. If the text consists of several parts that are written by different font (or a different language, etc.), then according to each will have an element in this array. It is divided by the words into parts, if have large text that has the same style. Parts are consistently followed, that they found in the original text so they are following here.

Returns:
IRecognizedTextPartInfo instance containing information about text result


Copyright © 2011 Aspose. All Rights Reserved.