public static interface DetectLabelsImageProperties.Builder extends SdkPojo, CopyableBuilder<DetectLabelsImageProperties.Builder,DetectLabelsImageProperties>
| Modifier and Type | Method and Description |
|---|---|
default DetectLabelsImageProperties.Builder |
background(Consumer<DetectLabelsImageBackground.Builder> background)
Information about the properties of an image’s background, including the background’s quality and dominant
colors, including the quality and dominant colors of the image.
|
DetectLabelsImageProperties.Builder |
background(DetectLabelsImageBackground background)
Information about the properties of an image’s background, including the background’s quality and dominant
colors, including the quality and dominant colors of the image.
|
DetectLabelsImageProperties.Builder |
dominantColors(Collection<DominantColor> dominantColors)
Information about the dominant colors found in an image, described with RGB values, CSS color name,
simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).
|
DetectLabelsImageProperties.Builder |
dominantColors(Consumer<DominantColor.Builder>... dominantColors)
Information about the dominant colors found in an image, described with RGB values, CSS color name,
simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).
|
DetectLabelsImageProperties.Builder |
dominantColors(DominantColor... dominantColors)
Information about the dominant colors found in an image, described with RGB values, CSS color name,
simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).
|
default DetectLabelsImageProperties.Builder |
foreground(Consumer<DetectLabelsImageForeground.Builder> foreground)
Information about the properties of an image’s foreground, including the foreground’s quality and dominant
colors, including the quality and dominant colors of the image.
|
DetectLabelsImageProperties.Builder |
foreground(DetectLabelsImageForeground foreground)
Information about the properties of an image’s foreground, including the foreground’s quality and dominant
colors, including the quality and dominant colors of the image.
|
default DetectLabelsImageProperties.Builder |
quality(Consumer<DetectLabelsImageQuality.Builder> quality)
Information about the quality of the image foreground as defined by brightness, sharpness, and contrast.
|
DetectLabelsImageProperties.Builder |
quality(DetectLabelsImageQuality quality)
Information about the quality of the image foreground as defined by brightness, sharpness, and contrast.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDetectLabelsImageProperties.Builder quality(DetectLabelsImageQuality quality)
Information about the quality of the image foreground as defined by brightness, sharpness, and contrast. The higher the value the greater the brightness, sharpness, and contrast respectively.
quality - Information about the quality of the image foreground as defined by brightness, sharpness, and
contrast. The higher the value the greater the brightness, sharpness, and contrast respectively.default DetectLabelsImageProperties.Builder quality(Consumer<DetectLabelsImageQuality.Builder> quality)
Information about the quality of the image foreground as defined by brightness, sharpness, and contrast. The higher the value the greater the brightness, sharpness, and contrast respectively.
This is a convenience method that creates an instance of theDetectLabelsImageQuality.Builder
avoiding the need to create one manually via DetectLabelsImageQuality.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to quality(DetectLabelsImageQuality).
quality - a consumer that will call methods on DetectLabelsImageQuality.Builderquality(DetectLabelsImageQuality)DetectLabelsImageProperties.Builder dominantColors(Collection<DominantColor> dominantColors)
Information about the dominant colors found in an image, described with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).
dominantColors - Information about the dominant colors found in an image, described with RGB values, CSS color name,
simplified color name, and PixelPercentage (the percentage of image pixels that have a particular
color).DetectLabelsImageProperties.Builder dominantColors(DominantColor... dominantColors)
Information about the dominant colors found in an image, described with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).
dominantColors - Information about the dominant colors found in an image, described with RGB values, CSS color name,
simplified color name, and PixelPercentage (the percentage of image pixels that have a particular
color).DetectLabelsImageProperties.Builder dominantColors(Consumer<DominantColor.Builder>... dominantColors)
Information about the dominant colors found in an image, described with RGB values, CSS color name, simplified color name, and PixelPercentage (the percentage of image pixels that have a particular color).
This is a convenience method that creates an instance of theDominantColor.Builder avoiding the need to create
one manually via DominantColor.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #dominantColors(List.
dominantColors - a consumer that will call methods on
DominantColor.Builder#dominantColors(java.util.Collection) DetectLabelsImageProperties.Builder foreground(DetectLabelsImageForeground foreground)
Information about the properties of an image’s foreground, including the foreground’s quality and dominant colors, including the quality and dominant colors of the image.
foreground - Information about the properties of an image’s foreground, including the foreground’s quality and
dominant colors, including the quality and dominant colors of the image.default DetectLabelsImageProperties.Builder foreground(Consumer<DetectLabelsImageForeground.Builder> foreground)
Information about the properties of an image’s foreground, including the foreground’s quality and dominant colors, including the quality and dominant colors of the image.
This is a convenience method that creates an instance of theDetectLabelsImageForeground.Builder
avoiding the need to create one manually via DetectLabelsImageForeground.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to foreground(DetectLabelsImageForeground).
foreground - a consumer that will call methods on DetectLabelsImageForeground.Builderforeground(DetectLabelsImageForeground)DetectLabelsImageProperties.Builder background(DetectLabelsImageBackground background)
Information about the properties of an image’s background, including the background’s quality and dominant colors, including the quality and dominant colors of the image.
background - Information about the properties of an image’s background, including the background’s quality and
dominant colors, including the quality and dominant colors of the image.default DetectLabelsImageProperties.Builder background(Consumer<DetectLabelsImageBackground.Builder> background)
Information about the properties of an image’s background, including the background’s quality and dominant colors, including the quality and dominant colors of the image.
This is a convenience method that creates an instance of theDetectLabelsImageBackground.Builder
avoiding the need to create one manually via DetectLabelsImageBackground.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to background(DetectLabelsImageBackground).
background - a consumer that will call methods on DetectLabelsImageBackground.Builderbackground(DetectLabelsImageBackground)Copyright © 2023. All rights reserved.