com.groupdocs.conversion.integration.ocr

Class RecognizedImage



  • public class RecognizedImage
    extends Object
    Represents text, extracted from an image as a result of its recognition process.
    • Field Detail

    • Constructor Detail

      • RecognizedImage

        public RecognizedImage(List<TextLine> lines)
        Initializes a new instance of the class, using a set of recognized lines.
        Parameters:
        lines - an IEnumerable (e.g. a list or an array) of recognized lines
    • Method Detail

      • getLines

        public TextLine[] getLines()
        Gets lines of text, with their fragments, recognized within the document.
      • getText

        public String getText()
        Gets textual equivalent of the structured text