public class FaceQualityInfo extends AbstractModel
Constructor and Description |
---|
FaceQualityInfo() |
Modifier and Type | Method and Description |
---|---|
Long |
getBrightness()
Get Brightness.
|
FaceQualityCompleteness |
getCompleteness()
Get Completeness of facial features, which assesses the completeness of the eyebrows, eyes, nose, cheeks, mouth, and chin.
|
Long |
getScore()
Get Quality score.
|
Long |
getSharpness()
Get Sharpness.
|
void |
setBrightness(Long Brightness)
Set Brightness.
|
void |
setCompleteness(FaceQualityCompleteness Completeness)
Set Completeness of facial features, which assesses the completeness of the eyebrows, eyes, nose, cheeks, mouth, and chin.
|
void |
setScore(Long Score)
Set Quality score.
|
void |
setSharpness(Long Sharpness)
Set Sharpness.
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, toJsonString
public Long getScore()
public void setScore(Long Score)
Score
- Quality score. Value range: [0,100]. It comprehensively evaluates whether the image quality is suitable for face recognition; the higher the score, the higher the quality.
In normal cases, you only need to use `Score` as the overall quality standard score. Specific item scores such as `Sharpness`, `Brightness`, `Completeness` are for reference only.
Reference range: [0,40]: poor; [40,60]: fine; [60,80]: good; [80,100]: excellent.
You are recommended to select images with a score above 70 for adding faces.
Note: this field may return null, indicating that no valid values can be obtained.public Long getSharpness()
public void setSharpness(Long Sharpness)
Sharpness
- Sharpness. Value range: [0,100]. It evaluates the sharpness of the image. The higher the score, the sharper the image.
Reference range: [0,40]: very blurry; [40,60]: blurry; [60,80]: fine; [80,100]: sharp.
You are recommended to select images with a score above 80 for adding faces.
Note: this field may return null, indicating that no valid values can be obtained.public Long getBrightness()
public void setBrightness(Long Brightness)
Brightness
- Brightness. Value range: [0,100]. The brighter the image, the higher the score.
Reference range: [0,30]: dark; [30,70]: normal; [70,100]: bright.
You are recommended to select images in the [30,70] range for adding faces.
Note: this field may return null, indicating that no valid values can be obtained.public FaceQualityCompleteness getCompleteness()
public void setCompleteness(FaceQualityCompleteness Completeness)
Completeness
- Completeness of facial features, which assesses the completeness of the eyebrows, eyes, nose, cheeks, mouth, and chin.
Note: this field may return null, indicating that no valid values can be obtained.Copyright © 2020. All rights reserved.