StructuredPojo
, ToCopyableBuilder<ComparedSourceImageFace.Builder,ComparedSourceImageFace>
@Generated("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 | Description |
---|---|---|
static interface |
ComparedSourceImageFace.Builder |
Modifier and Type | Method | 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) |
|
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() |
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.