Class OcrResult


  • public class OcrResult
    extends Object
    The OcrResult model.
    • Constructor Detail

      • OcrResult

        public OcrResult()
    • Method Detail

      • language

        public String language()
        Get the language value.
        Returns:
        the language value
      • withLanguage

        public OcrResult withLanguage​(String language)
        Set the language value.
        Parameters:
        language - the language value to set
        Returns:
        the OcrResult object itself.
      • textAngle

        public double textAngle()
        Get the textAngle value.
        Returns:
        the textAngle value
      • withTextAngle

        public OcrResult withTextAngle​(double textAngle)
        Set the textAngle value.
        Parameters:
        textAngle - the textAngle value to set
        Returns:
        the OcrResult object itself.
      • orientation

        public String orientation()
        Get the orientation value.
        Returns:
        the orientation value
      • withOrientation

        public OcrResult withOrientation​(String orientation)
        Set the orientation value.
        Parameters:
        orientation - the orientation value to set
        Returns:
        the OcrResult object itself.
      • regions

        public List<OcrRegion> regions()
        Get the regions value.
        Returns:
        the regions value
      • withRegions

        public OcrResult withRegions​(List<OcrRegion> regions)
        Set the regions value.
        Parameters:
        regions - the regions value to set
        Returns:
        the OcrResult object itself.
      • modelVersion

        public String modelVersion()
        Get the modelVersion value.
        Returns:
        the modelVersion value
      • withModelVersion

        public OcrResult withModelVersion​(String modelVersion)
        Set the modelVersion value.
        Parameters:
        modelVersion - the modelVersion value to set
        Returns:
        the OcrResult object itself.