Interface DetectFacesResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DetectFacesResponse.Builder,DetectFacesResponse>,RekognitionResponse.Builder,SdkBuilder<DetectFacesResponse.Builder,DetectFacesResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- DetectFacesResponse
public static interface DetectFacesResponse.Builder extends RekognitionResponse.Builder, SdkPojo, CopyableBuilder<DetectFacesResponse.Builder,DetectFacesResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DetectFacesResponse.BuilderfaceDetails(Collection<FaceDetail> faceDetails)Details of each face found in the image.DetectFacesResponse.BuilderfaceDetails(Consumer<FaceDetail.Builder>... faceDetails)Details of each face found in the image.DetectFacesResponse.BuilderfaceDetails(FaceDetail... faceDetails)Details of each face found in the image.DetectFacesResponse.BuilderorientationCorrection(String orientationCorrection)The value ofOrientationCorrectionis always null.DetectFacesResponse.BuilderorientationCorrection(OrientationCorrection orientationCorrection)The value ofOrientationCorrectionis always null.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.rekognition.model.RekognitionResponse.Builder
build, responseMetadata, responseMetadata
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
faceDetails
DetectFacesResponse.Builder faceDetails(Collection<FaceDetail> faceDetails)
Details of each face found in the image.
- Parameters:
faceDetails- Details of each face found in the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faceDetails
DetectFacesResponse.Builder faceDetails(FaceDetail... faceDetails)
Details of each face found in the image.
- Parameters:
faceDetails- Details of each face found in the image.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
faceDetails
DetectFacesResponse.Builder faceDetails(Consumer<FaceDetail.Builder>... faceDetails)
Details of each face found in the image.
This is a convenience method that creates an instance of theFaceDetail.Builderavoiding the need to create one manually viaFaceDetail.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#faceDetails(List.) - Parameters:
faceDetails- a consumer that will call methods onFaceDetail.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#faceDetails(java.util.Collection)
-
orientationCorrection
DetectFacesResponse.Builder orientationCorrection(String orientationCorrection)
The value of
OrientationCorrectionis 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.
- Parameters:
orientationCorrection- The value ofOrientationCorrectionis 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OrientationCorrection,OrientationCorrection
-
orientationCorrection
DetectFacesResponse.Builder orientationCorrection(OrientationCorrection orientationCorrection)
The value of
OrientationCorrectionis 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.
- Parameters:
orientationCorrection- The value ofOrientationCorrectionis 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
OrientationCorrection,OrientationCorrection
-
-