public class ImageQuality
extends java.lang.Object
implements java.io.Serializable
Identifies face image brightness and sharpness.
Constructor and Description |
---|
ImageQuality() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Float |
getBrightness()
Value representing brightness of the face.
|
java.lang.Float |
getSharpness()
Value representing sharpness of the face.
|
int |
hashCode() |
void |
setBrightness(java.lang.Float brightness)
Value representing brightness of the face.
|
void |
setSharpness(java.lang.Float sharpness)
Value representing sharpness of the face.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ImageQuality |
withBrightness(java.lang.Float brightness)
Value representing brightness of the face.
|
ImageQuality |
withSharpness(java.lang.Float sharpness)
Value representing sharpness of the face.
|
public java.lang.Float getBrightness()
Value representing brightness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a brighter face image.
Value representing brightness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a brighter face image.
public void setBrightness(java.lang.Float brightness)
Value representing brightness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a brighter face image.
brightness
- Value representing brightness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a brighter face image.
public ImageQuality withBrightness(java.lang.Float brightness)
Value representing brightness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a brighter face image.
Returns a reference to this object so that method calls can be chained together.
brightness
- Value representing brightness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a brighter face image.
public java.lang.Float getSharpness()
Value representing sharpness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a sharper face image.
Value representing sharpness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a sharper face image.
public void setSharpness(java.lang.Float sharpness)
Value representing sharpness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a sharper face image.
sharpness
- Value representing sharpness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a sharper face image.
public ImageQuality withSharpness(java.lang.Float sharpness)
Value representing sharpness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a sharper face image.
Returns a reference to this object so that method calls can be chained together.
sharpness
- Value representing sharpness of the face. The service returns a value between 0 and 100 (inclusive). A higher value indicates a sharper face image.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.