public class ImageQuality extends Object implements Serializable
Identifies face image brightness and sharpness.
Constructor and Description |
---|
ImageQuality() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
Float |
getBrightness()
Value representing brightness of the face.
|
Float |
getSharpness()
Value representing sharpness of the face.
|
int |
hashCode() |
void |
setBrightness(Float brightness)
Value representing brightness of the face.
|
void |
setSharpness(Float sharpness)
Value representing sharpness of the face.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ImageQuality |
withBrightness(Float brightness)
Value representing brightness of the face.
|
ImageQuality |
withSharpness(Float sharpness)
Value representing sharpness of the face.
|
public 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(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(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 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(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(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 String toString()
toString
in class Object
Object.toString()
Copyright © 2018. All rights reserved.