Interface DetectTextResponse.Builder

    • Method Detail

      • textDetections

        DetectTextResponse.Builder textDetections​(Collection<TextDetection> textDetections)

        An array of text that was detected in the input image.

        Parameters:
        textDetections - An array of text that was detected in the input image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • textDetections

        DetectTextResponse.Builder textDetections​(TextDetection... textDetections)

        An array of text that was detected in the input image.

        Parameters:
        textDetections - An array of text that was detected in the input image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • textModelVersion

        DetectTextResponse.Builder textModelVersion​(String textModelVersion)

        The model version used to detect text.

        Parameters:
        textModelVersion - The model version used to detect text.
        Returns:
        Returns a reference to this object so that method calls can be chained together.