Class ImageQualityGroup.QualityBackground
java.lang.Object
com.regula.facesdk.detection.request.ImageQualityGroup.QualityBackground
- Enclosing class:
ImageQualityGroup
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic List<ImageQualityCharacteristic>
All Group characteristics with default (recommended) values.Whether the background color matches default background color.backgroundColorMatchWithColor
(int color) backgroundColorMatchWithColor
(long color) Whether the background color matches the required color.static ImageQualityCharacteristic
Checks uniformity of the portrait background.static ImageQualityCharacteristic
The number of faces on the photo.static ImageQualityCharacteristic
Whether there are shadows on the portrait background.
-
Constructor Details
-
QualityBackground
public QualityBackground()
-
-
Method Details
-
backgroundUniformity
Checks uniformity of the portrait background. The range is from 0 to 1 where 1 is absolute background uniformity.- Returns:
ImageQualityCharacteristic
-
shadowsOnBackground
Whether there are shadows on the portrait background. The range is from 0 to 1 where 1 is the absence of shadows on the portrait background.- Returns:
ImageQualityCharacteristic
-
otherFaces
The number of faces on the photo. The range starts from 1.- Returns:
ImageQualityCharacteristic
-
backgroundColorMatch
Whether the background color matches default background color. Default color is white (RGB(255,255,255) or hex #FFFFFF) The range is from 0 to 1 where 1 is full background color match.- Returns:
ImageQualityColorCharacteristic
-
backgroundColorMatchWithColor
Whether the background color matches the required color. The range is from 0 to 1 where 1 is full background color match.- Returns:
ImageQualityColorCharacteristic
-
backgroundColorMatchWithColor
-
allRecommended
All Group characteristics with default (recommended) values. Doesn't include characteristics without default values.- Returns:
List<ImageQualityCharacteristic>
-