Class ImageQualityGroup.QualityBackground
- java.lang.Object
-
- com.regula.facesdk.detection.request.ImageQualityGroup.QualityBackground
-
- Enclosing class:
- ImageQualityGroup
public static class ImageQualityGroup.QualityBackground extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description QualityBackground()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.util.List<ImageQualityCharacteristic>
allRecommended()
All Group characteristics with default (recommended) values.static ImageQualityColorCharacteristic
backgroundColorMatch()
Whether the background color matches default background color.static ImageQualityColorCharacteristic
backgroundColorMatchWithColor(int color)
static ImageQualityColorCharacteristic
backgroundColorMatchWithColor(long color)
Whether the background color matches the required color.static ImageQualityCharacteristic
backgroundUniformity()
Checks uniformity of the portrait background.static ImageQualityCharacteristic
otherFaces()
The number of faces on the photo.static ImageQualityCharacteristic
shadowsOnBackground()
Whether there are shadows on the portrait background.
-
-
-
Method Detail
-
backgroundUniformity
public static ImageQualityCharacteristic backgroundUniformity()
Checks uniformity of the portrait background. The range is from 0 to 1 where 1 is absolute background uniformity.- Returns:
ImageQualityCharacteristic
-
shadowsOnBackground
public static 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
public static ImageQualityCharacteristic otherFaces()
The number of faces on the photo. The range starts from 1.- Returns:
ImageQualityCharacteristic
-
backgroundColorMatch
public static ImageQualityColorCharacteristic 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
public static ImageQualityColorCharacteristic backgroundColorMatchWithColor(long color)
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
public static ImageQualityColorCharacteristic backgroundColorMatchWithColor(int color)
-
allRecommended
public static java.util.List<ImageQualityCharacteristic> allRecommended()
All Group characteristics with default (recommended) values. Doesn't include characteristics without default values.- Returns:
List
-
-