Class OcrRegion


  • public class OcrRegion
    extends Object
    A region consists of multiple lines (e.g. a column of text in a multi-column document).
    • Constructor Detail

      • OcrRegion

        public OcrRegion()
    • Method Detail

      • boundingBox

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

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

        public List<OcrLine> lines()
        Get the lines value.
        Returns:
        the lines value
      • withLines

        public OcrRegion withLines​(List<OcrLine> lines)
        Set the lines value.
        Parameters:
        lines - the lines value to set
        Returns:
        the OcrRegion object itself.