Class DetectFacesConfiguration

java.lang.Object
com.regula.facesdk.detection.request.DetectFacesConfiguration

public class DetectFacesConfiguration extends Object
  • Constructor Details

    • DetectFacesConfiguration

      public DetectFacesConfiguration()
  • Method Details

    • getAttributes

      public List<DetectFacesAttribute> getAttributes()
    • getCustomQuality

      public List<ImageQualityCharacteristic> getCustomQuality()
    • getOutputImageParams

      public OutputImageParams getOutputImageParams()
    • getOnlyCentralFace

      public Boolean getOnlyCentralFace()
    • setAttributes

      public void setAttributes(List<DetectFacesAttribute> attributes)
      Current array for the face image detection attributes.
      Parameters:
      attributes - List<DetectFacesAttribute>
    • setCustomQuality

      public void setCustomQuality(List<ImageQualityCharacteristic> customQuality)
      Current array for the face image quality assessment rules.
      Parameters:
      customQuality - List<ImageQualityCharacteristic>
    • 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(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.