Class TextLine

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

      • TextLine

        public TextLine(List<TextFragment> fragments)
        Initializes a new instance of a line of text, extracted by OCR engine from an image.
        fragments - initial set of text fragments
    • Method Detail

      • getFragments

        public TextFragment[] getFragments()
        Gets an array of text fragments, such as symbols and words, recognized in the line.