Class OcrWord


  • public class OcrWord
    extends Object
    Information on a recognized word.
    • Constructor Detail

      • OcrWord

        public OcrWord()
    • Method Detail

      • boundingBox

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

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

        public String text()
        Get the text value.
        Returns:
        the text value
      • withText

        public OcrWord withText​(String text)
        Set the text value.
        Parameters:
        text - the text value to set
        Returns:
        the OcrWord object itself.