@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FaceOccluded extends Object implements Serializable, Cloneable, StructuredPojo
FaceOccluded
should return "true" with a high confidence score if a detected face’s eyes, nose, and
mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or other objects.
FaceOccluded
should return "false" with a high confidence score if common occurrences that do not impact
face verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and others.
You can use FaceOccluded
to determine if an obstruction on a face negatively impacts using the image for
face matching.
Constructor and Description |
---|
FaceOccluded() |
Modifier and Type | Method and Description |
---|---|
FaceOccluded |
clone() |
boolean |
equals(Object obj) |
Float |
getConfidence()
The confidence that the service has detected the presence of a face occlusion.
|
Boolean |
getValue()
True if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark
sunglasses, cell phones, hands, or other objects.
|
int |
hashCode() |
Boolean |
isValue()
True if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark
sunglasses, cell phones, hands, or other objects.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConfidence(Float confidence)
The confidence that the service has detected the presence of a face occlusion.
|
void |
setValue(Boolean value)
True if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark
sunglasses, cell phones, hands, or other objects.
|
String |
toString()
Returns a string representation of this object.
|
FaceOccluded |
withConfidence(Float confidence)
The confidence that the service has detected the presence of a face occlusion.
|
FaceOccluded |
withValue(Boolean value)
True if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark
sunglasses, cell phones, hands, or other objects.
|
public void setValue(Boolean value)
True if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or other objects. False if common occurrences that do not impact face verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and others.
value
- True if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks,
dark sunglasses, cell phones, hands, or other objects. False if common occurrences that do not impact face
verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and others.public Boolean getValue()
True if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or other objects. False if common occurrences that do not impact face verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and others.
public FaceOccluded withValue(Boolean value)
True if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or other objects. False if common occurrences that do not impact face verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and others.
value
- True if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks,
dark sunglasses, cell phones, hands, or other objects. False if common occurrences that do not impact face
verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and others.public Boolean isValue()
True if a detected face’s eyes, nose, and mouth are partially captured or if they are covered by masks, dark sunglasses, cell phones, hands, or other objects. False if common occurrences that do not impact face verification are detected, such as eye glasses, lightly tinted sunglasses, strands of hair, and others.
public void setConfidence(Float confidence)
The confidence that the service has detected the presence of a face occlusion.
confidence
- The confidence that the service has detected the presence of a face occlusion.public Float getConfidence()
The confidence that the service has detected the presence of a face occlusion.
public FaceOccluded withConfidence(Float confidence)
The confidence that the service has detected the presence of a face occlusion.
confidence
- The confidence that the service has detected the presence of a face occlusion.public String toString()
toString
in class Object
Object.toString()
public FaceOccluded clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.