public static interface DetectLabelsResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<DetectLabelsResponse.Builder,DetectLabelsResponse>
Modifier and Type | Method and Description |
---|---|
DetectLabelsResponse.Builder |
labelModelVersion(String labelModelVersion)
Version number of the label detection model that was used to detect labels.
|
DetectLabelsResponse.Builder |
labels(Collection<Label> labels)
An array of labels for the real-world objects detected.
|
DetectLabelsResponse.Builder |
labels(Consumer<Label.Builder>... 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 value of
OrientationCorrection is always null. |
DetectLabelsResponse.Builder |
orientationCorrection(String orientationCorrection)
The value of
OrientationCorrection is always null. |
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, 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 labels(Consumer<Label.Builder>... labels)
An array of labels for the real-world objects detected.
This is a convenience that creates an instance of theList
avoiding the need to create
one manually via List
.
When the Consumer
completes, List
is called immediately and its result
is passed to #labels(List
.labels
- a consumer that will call methods on List
#labels(List
DetectLabelsResponse.Builder orientationCorrection(String orientationCorrection)
The value of OrientationCorrection
is always null.
If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.
orientationCorrection
- The value of OrientationCorrection
is always null.
If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.
OrientationCorrection
,
OrientationCorrection
DetectLabelsResponse.Builder orientationCorrection(OrientationCorrection orientationCorrection)
The value of OrientationCorrection
is always null.
If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.
orientationCorrection
- The value of OrientationCorrection
is always null.
If the input image is in .jpeg format, it might contain exchangeable image file format (Exif) metadata that includes the image's orientation. Amazon Rekognition uses this orientation information to perform image correction. The bounding box coordinates are translated to represent object locations after the orientation information in the Exif metadata is used to correct the image orientation. Images in .png format don't contain Exif metadata.
Amazon Rekognition doesn’t perform image correction for images in .png format and .jpeg images without orientation information in the image Exif metadata. The bounding box coordinates aren't translated and represent the object locations before the image is rotated.
OrientationCorrection
,
OrientationCorrection
DetectLabelsResponse.Builder labelModelVersion(String labelModelVersion)
Version number of the label detection model that was used to detect labels.
labelModelVersion
- Version number of the label detection model that was used to detect labels.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.