Class DetectFacesConfiguration


  • public class DetectFacesConfiguration
    extends java.lang.Object
    • Constructor Detail

      • DetectFacesConfiguration

        public DetectFacesConfiguration()
    • Method Detail

      • 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.