Class ImageQualityGroup.ImageCharacteristic
java.lang.Object
com.regula.facesdk.detection.request.ImageQualityGroup.ImageCharacteristic
- Enclosing class:
- ImageQualityGroup
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic List<ImageQualityCharacteristic>All Group characteristics with default (recommended) values.static ImageQualityCharacteristicartFace()Whether the face in the image is a photo, not a drawing, sculpture, cartoon, etc.static ImageQualityCharacteristicimageChannelsNumberWithValue(double value) The image RGB channels number.static ImageQualityCharacteristicimageHeightWithRange(double min, double max) The image height, pixels.static ImageQualityCharacteristicimageWidthToHeightWithRange(double min, double max) The image width to height proportion.static ImageQualityCharacteristicimageWidthWithRange(double min, double max) The image width, pixels.static ImageQualityCharacteristicpaddingRatio(double min, double max) The percentage of the area of the image that was "padded" during alignment.
-
Constructor Details
-
ImageCharacteristic
public ImageCharacteristic()
-
-
Method Details
-
imageWidthWithRange
The image width, pixels. Doesn't have recommended value.- Returns:
ImageQualityCharacteristic
-
imageHeightWithRange
The image height, pixels. Doesn't have recommended value.- Returns:
ImageQualityCharacteristic
-
imageWidthToHeightWithRange
The image width to height proportion. Doesn't have recommended value.- Returns:
ImageQualityCharacteristic
-
imageChannelsNumberWithValue
The image RGB channels number. Doesn't have recommended value. Range value [3, 3] is for RGB images.- Returns:
ImageQualityCharacteristic
-
paddingRatio
The percentage of the area of the image that was "padded" during alignment. The characteristic is needed to determine if the head goes beyond the image. The range is from 0 to 1 where 0 is 0% of the image is "padded".- Returns:
ImageQualityCharacteristic
-
artFace
Whether the face in the image is a photo, not a drawing, sculpture, cartoon, etc. If the returned value is out of the recommended range, the image is not a photo. The range is from 0 to 1.- Returns:
ImageQualityCharacteristic
-
allRecommended
All Group characteristics with default (recommended) values. Doesn't include characteristics without default values.- Returns:
List<ImageQualityCharacteristic>
-