Class OcrLine


  • public class OcrLine
    extends Object
    An object describing a single recognized line of text.
    • Constructor Detail

      • OcrLine

        public OcrLine()
    • Method Detail

      • boundingBox

        public String boundingBox()
        Get the boundingBox value.
        Returns:
        the boundingBox value
      • withBoundingBox

        public OcrLine withBoundingBox​(String boundingBox)
        Set the boundingBox value.
        Parameters:
        boundingBox - the boundingBox value to set
        Returns:
        the OcrLine object itself.
      • words

        public List<OcrWord> words()
        Get the words value.
        Returns:
        the words value
      • withWords

        public OcrLine withWords​(List<OcrWord> words)
        Set the words value.
        Parameters:
        words - the words value to set
        Returns:
        the OcrLine object itself.