Class DetectFacesConfiguration
- java.lang.Object
-
- com.regula.facesdk.detection.request.DetectFacesConfiguration
-
public class DetectFacesConfiguration extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description DetectFacesConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<DetectFacesAttribute>
getAttributes()
java.util.List<ImageQualityCharacteristic>
getCustomQuality()
java.lang.Boolean
getOnlyCentralFace()
OutputImageParams
getOutputImageParams()
void
setAttributes(java.util.List<DetectFacesAttribute> attributes)
Current array for the face image detection attributes.void
setCustomQuality(java.util.List<ImageQualityCharacteristic> customQuality)
Current array for the face image quality assessment rules.void
setOnlyCentralFace(java.lang.Boolean onlyCentralFace)
Whether to process only the central face on the image or all the faces.void
setOutputImageParams(OutputImageParams outputImageParams)
If set the uploaded image is processed according to the indicated settings
-
-
-
Method Detail
-
getAttributes
public java.util.List<DetectFacesAttribute> getAttributes()
-
getCustomQuality
public java.util.List<ImageQualityCharacteristic> getCustomQuality()
-
getOutputImageParams
public OutputImageParams getOutputImageParams()
-
getOnlyCentralFace
public java.lang.Boolean getOnlyCentralFace()
-
setAttributes
public void setAttributes(java.util.List<DetectFacesAttribute> attributes)
Current array for the face image detection attributes.- Parameters:
attributes
-List
-
setCustomQuality
public void setCustomQuality(java.util.List<ImageQualityCharacteristic> customQuality)
Current array for the face image quality assessment rules.- Parameters:
customQuality
-List
-
setOutputImageParams
public void setOutputImageParams(OutputImageParams outputImageParams)
If set the uploaded image is processed according to the indicated settings- Parameters:
outputImageParams
-OutputImageParams
-
setOnlyCentralFace
public void setOnlyCentralFace(java.lang.Boolean onlyCentralFace)
Whether to process only the central face on the image or all the faces. If set true, the SDK detects and processes only oneāthe most central face in the image. If set false, the SDK processes all faces in the image. Default false.
-
-