RFSDetectFacesConfiguration

Objective-C


@interface RFSDetectFacesConfiguration : NSObject

Swift

class DetectFacesConfiguration : NSObject

Custom configuration for RFSDetectFacesRequest.

  • Current array for the face image detection attributes.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<RFSDetectFacesAttribute> *attributes;

    Swift

    var attributes: [DetectFacesAttribute]? { get set }
  • Current array for the face image quality assessment rules.

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) NSArray<RFSImageQualityCharacteristic *> *customQuality;

    Swift

    var customQuality: [RFSImageQualityCharacteristic]? { get set }
  • If set. the uploaded image is processed according to the indicated settings

    Declaration

    Objective-C

    @property (nonatomic, strong, nullable) RFSOutputImageParams *outputImageParams;

    Swift

    var outputImageParams: RFSOutputImageParams? { get set }
  • Whether to process only the central face on the image or all the faces. If set to YES, the SDK detects and processes only one—the most central face in the image. If set to NO, the SDK processess all faces in the image. Default is NO.

    Declaration

    Objective-C

    @property (nonatomic) BOOL onlyCentralFace;

    Swift

    var onlyCentralFace: Bool { get set }