StructuredPojo
, ToCopyableBuilder<ComparedFace.Builder,ComparedFace>
@Generated("software.amazon.awssdk:codegen") public class ComparedFace extends Object implements StructuredPojo, ToCopyableBuilder<ComparedFace.Builder,ComparedFace>
Provides face metadata for target image faces that are analysed by CompareFaces
and
RecognizeCelebrities
.
Modifier and Type | Class | Description |
---|---|---|
static interface |
ComparedFace.Builder |
Modifier and Type | Method | Description |
---|---|---|
BoundingBox |
boundingBox() |
Bounding box of the face.
|
static ComparedFace.Builder |
builder() |
|
Float |
confidence() |
Level of confidence that what the bounding box contains is a face.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
List<Landmark> |
landmarks() |
An array of facial landmarks.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
Pose |
pose() |
Indicates the pose of the face as determined by its pitch, roll, and yaw.
|
ImageQuality |
quality() |
Identifies face image brightness and sharpness.
|
static Class<? extends ComparedFace.Builder> |
serializableBuilderClass() |
|
ComparedFace.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()
Level of confidence that what the bounding box contains is a face.
public List<Landmark> landmarks()
An array of facial landmarks.
public Pose pose()
Indicates the pose of the face as determined by its pitch, roll, and yaw.
public ImageQuality quality()
Identifies face image brightness and sharpness.
public ComparedFace.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ComparedFace.Builder,ComparedFace>
public static ComparedFace.Builder builder()
public static Class<? extends ComparedFace.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.