Class ImageQualityGroup.HeadSizeAndPosition
- java.lang.Object
-
- com.regula.facesdk.detection.request.ImageQualityGroup.HeadSizeAndPosition
-
- Enclosing class:
- ImageQualityGroup
public static class ImageQualityGroup.HeadSizeAndPosition extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description HeadSizeAndPosition()
-
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 ImageQualityCharacteristic
eyesDistance()
Inter-eye distance — the length of the line connecting the eye centers of the left and right eye, pixels.static ImageQualityCharacteristic
faceMidPointHorizontalPosition()
The position of the "middle point" (the middle of the line connecting the eye centers) relative to the width of the image.static ImageQualityCharacteristic
faceMidPointVerticalPosition()
The position of the "middle point" (the middle of the line connecting the eye centers) relative to the height of the image.static ImageQualityCharacteristic
headHeightRatio()
The head height to the image height ratio.static ImageQualityCharacteristic
headWidthRatio()
The head width to the image width ratio.static ImageQualityCharacteristic
pitch()
The pitch of the head, degrees.static ImageQualityCharacteristic
roll()
The roll of the head, degrees.static ImageQualityCharacteristic
yaw()
The yaw of the head, degrees.
-
-
-
Method Detail
-
faceMidPointHorizontalPosition
public static ImageQualityCharacteristic faceMidPointHorizontalPosition()
The position of the "middle point" (the middle of the line connecting the eye centers) relative to the width of the image. The range is from 0 to 1 where range [0.5, 0.5] is for "middle point" strictly in the center .- Returns:
ImageQualityCharacteristic
-
faceMidPointVerticalPosition
public static ImageQualityCharacteristic faceMidPointVerticalPosition()
The position of the "middle point" (the middle of the line connecting the eye centers) relative to the height of the image. The range is from 0 to 1 where range [0.5, 0.5] is for "middle point" strictly in the center .- Returns:
ImageQualityCharacteristic
-
headWidthRatio
public static ImageQualityCharacteristic headWidthRatio()
The head width to the image width ratio. The range is from 0 to 1.- Returns:
ImageQualityCharacteristic
-
headHeightRatio
public static ImageQualityCharacteristic headHeightRatio()
The head height to the image height ratio. The range is from 0 to 1.- Returns:
ImageQualityCharacteristic
-
eyesDistance
public static ImageQualityCharacteristic eyesDistance()
Inter-eye distance — the length of the line connecting the eye centers of the left and right eye, pixels.- Returns:
ImageQualityCharacteristic
-
yaw
public static ImageQualityCharacteristic yaw()
The yaw of the head, degrees. The range is from -90 to 90. Range value [0, 0] for strictly stright head position.- Returns:
ImageQualityCharacteristic
-
pitch
public static ImageQualityCharacteristic pitch()
The pitch of the head, degrees. The range is from -90 to 90. Range value [0, 0] for strictly stright head position.- Returns:
ImageQualityCharacteristic
-
roll
public static ImageQualityCharacteristic roll()
The roll of the head, degrees. The range is from -90 to 90. Range value [0, 0] for strictly straight head position.- Returns:
ImageQualityCharacteristic
-
allRecommended
public static java.util.List<ImageQualityCharacteristic> allRecommended()
All Group characteristics with default (recommended) values. Doesn't include characteristics without default values.- Returns:
List
-
-