Interface Instance.Builder

    • Method Detail

      • boundingBox

        Instance.Builder boundingBox​(BoundingBox boundingBox)

        The position of the label instance on the image.

        Parameters:
        boundingBox - The position of the label instance on the image.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • confidence

        Instance.Builder confidence​(Float confidence)

        The confidence that Amazon Rekognition has in the accuracy of the bounding box.

        Parameters:
        confidence - The confidence that Amazon Rekognition has in the accuracy of the bounding box.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dominantColors

        Instance.Builder dominantColors​(Collection<DominantColor> dominantColors)

        The dominant colors found in an individual instance of a label.

        Parameters:
        dominantColors - The dominant colors found in an individual instance of a label.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • dominantColors

        Instance.Builder dominantColors​(DominantColor... dominantColors)

        The dominant colors found in an individual instance of a label.

        Parameters:
        dominantColors - The dominant colors found in an individual instance of a label.
        Returns:
        Returns a reference to this object so that method calls can be chained together.