Interface DetectLabelsImagePropertiesSettings.Builder

    • Method Detail

      • maxDominantColors

        DetectLabelsImagePropertiesSettings.Builder maxDominantColors​(Integer maxDominantColors)

        The maximum number of dominant colors to return when detecting labels in an image. The default value is 10.

        Parameters:
        maxDominantColors - The maximum number of dominant colors to return when detecting labels in an image. The default value is 10.
        Returns:
        Returns a reference to this object so that method calls can be chained together.