public static interface DetectLabelsResponse.Builder extends RekognitionResponse.Builder, CopyableBuilder<DetectLabelsResponse.Builder,DetectLabelsResponse>
Modifier and Type | Method and Description |
---|---|
DetectLabelsResponse.Builder |
labels(Collection<Label> labels)
An array of labels for the real-world objects detected.
|
DetectLabelsResponse.Builder |
labels(Label... labels)
An array of labels for the real-world objects detected.
|
DetectLabelsResponse.Builder |
orientationCorrection(OrientationCorrection orientationCorrection)
The orientation of the input image (counter-clockwise direction).
|
DetectLabelsResponse.Builder |
orientationCorrection(String orientationCorrection)
The orientation of the input image (counter-clockwise direction).
|
build
copy
apply, build
DetectLabelsResponse.Builder labels(Collection<Label> labels)
An array of labels for the real-world objects detected.
labels
- An array of labels for the real-world objects detected.DetectLabelsResponse.Builder labels(Label... labels)
An array of labels for the real-world objects detected.
labels
- An array of labels for the real-world objects detected.DetectLabelsResponse.Builder orientationCorrection(String orientationCorrection)
The orientation of the input image (counter-clockwise direction). If your application displays the image, you can use this value to correct the orientation. If Amazon Rekognition detects that the input image was rotated (for example, by 90 degrees), it first corrects the orientation before detecting the labels.
If the input image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be null.
orientationCorrection
- The orientation of the input image (counter-clockwise direction). If your application displays the
image, you can use this value to correct the orientation. If Amazon Rekognition detects that the input
image was rotated (for example, by 90 degrees), it first corrects the orientation before detecting the
labels. If the input image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be null.
OrientationCorrection
,
OrientationCorrection
DetectLabelsResponse.Builder orientationCorrection(OrientationCorrection orientationCorrection)
The orientation of the input image (counter-clockwise direction). If your application displays the image, you can use this value to correct the orientation. If Amazon Rekognition detects that the input image was rotated (for example, by 90 degrees), it first corrects the orientation before detecting the labels.
If the input image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be null.
orientationCorrection
- The orientation of the input image (counter-clockwise direction). If your application displays the
image, you can use this value to correct the orientation. If Amazon Rekognition detects that the input
image was rotated (for example, by 90 degrees), it first corrects the orientation before detecting the
labels. If the input image Exif metadata populates the orientation field, Amazon Rekognition does not perform orientation correction and the value of OrientationCorrection will be null.
OrientationCorrection
,
OrientationCorrection
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.