@Generated(value="software.amazon.awssdk:codegen") public class ComparedSourceImageFace extends Object implements StructuredPojo, ToCopyableBuilder<ComparedSourceImageFace.Builder,ComparedSourceImageFace>
Type that describes the face Amazon Rekognition chose to compare with the faces in the target. This contains a bounding box for the selected face and confidence level that the bounding box contains a face. Note that Amazon Rekognition selects the largest face in the source image for this comparison.
Modifier and Type | Class and Description |
---|---|
static interface |
ComparedSourceImageFace.Builder |
Modifier and Type | Method and Description |
---|---|
BoundingBox |
boundingBox()
Bounding box of the face.
|
static ComparedSourceImageFace.Builder |
builder() |
Float |
confidence()
Confidence level that the selected bounding box contains a face.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends ComparedSourceImageFace.Builder> |
serializableBuilderClass() |
ComparedSourceImageFace.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public BoundingBox boundingBox()
Bounding box of the face.
public Float confidence()
Confidence level that the selected bounding box contains a face.
public ComparedSourceImageFace.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ComparedSourceImageFace.Builder,ComparedSourceImageFace>
public static ComparedSourceImageFace.Builder builder()
public static Class<? extends ComparedSourceImageFace.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.