Interface TextDetection.Builder

    • Method Detail

      • detectedText

        TextDetection.Builder detectedText​(String detectedText)

        The word or line of text recognized by Amazon Rekognition.

        Parameters:
        detectedText - The word or line of text recognized by Amazon Rekognition.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        TextDetection.Builder type​(String type)

        The type of text that was detected.

        Parameters:
        type - The type of text that was detected.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TextTypes, TextTypes
      • type

        TextDetection.Builder type​(TextTypes type)

        The type of text that was detected.

        Parameters:
        type - The type of text that was detected.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        TextTypes, TextTypes
      • id

        TextDetection.Builder id​(Integer id)

        The identifier for the detected text. The identifier is only unique for a single call to DetectText.

        Parameters:
        id - The identifier for the detected text. The identifier is only unique for a single call to DetectText.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • parentId

        TextDetection.Builder parentId​(Integer parentId)

        The Parent identifier for the detected text identified by the value of ID. If the type of detected text is LINE, the value of ParentId is Null.

        Parameters:
        parentId - The Parent identifier for the detected text identified by the value of ID. If the type of detected text is LINE, the value of ParentId is Null.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • confidence

        TextDetection.Builder confidence​(Float confidence)

        The confidence that Amazon Rekognition has in the accuracy of the detected text and the accuracy of the geometry points around the detected text.

        Parameters:
        confidence - The confidence that Amazon Rekognition has in the accuracy of the detected text and the accuracy of the geometry points around the detected text.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • geometry

        TextDetection.Builder geometry​(Geometry geometry)

        The location of the detected text on the image. Includes an axis aligned coarse bounding box surrounding the text and a finer grain polygon for more accurate spatial information.

        Parameters:
        geometry - The location of the detected text on the image. Includes an axis aligned coarse bounding box surrounding the text and a finer grain polygon for more accurate spatial information.
        Returns:
        Returns a reference to this object so that method calls can be chained together.