RFSFaceImageQuality

Objective-C

@interface RFSFaceImageQuality: NSObject

/// The blur level.
/// The range is from 0 to 1 where 0 is the absence of blur effect
+ (RFSImageQualityCharacteristic *)blurLevel;

/// The noise level.
/// The range is from 0 to 1 where 0 is minimal noise level.
+ (RFSImageQualityCharacteristic *)noiseLevel;

/// The true-colour representation of the skin colour.
/// The range is from 0 to 1.
+ (RFSImageQualityCharacteristic *)unnaturalSkinTone;

/// The range of tonal difference between the lightest light and darkest dark of an image, bits.
+ (RFSImageQualityCharacteristic *)faceDynamicRange;

/// All Group characteristics with default (recommended) values.
/// Doesn't include characteristics without default values.
+ (NSArray<RFSImageQualityCharacteristic *> *)allRecommended;

RFS_EMPTY_INIT_UNAVAILABLE

@end

Swift

class FaceImage : NSObject

Undocumented

  • The blur level. The range is from 0 to 1 where 0 is the absence of blur effect

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)blurLevel;

    Swift

    class func blurLevel() -> ImageQualityCharacteristic
  • The noise level. The range is from 0 to 1 where 0 is minimal noise level.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)noiseLevel;

    Swift

    class func noiseLevel() -> ImageQualityCharacteristic
  • The true-colour representation of the skin colour. The range is from 0 to 1.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)unnaturalSkinTone;

    Swift

    class func unnaturalSkinTone() -> ImageQualityCharacteristic
  • The range of tonal difference between the lightest light and darkest dark of an image, bits.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)faceDynamicRange;

    Swift

    class func faceDynamicRange() -> ImageQualityCharacteristic
  • All Group characteristics with default (recommended) values. Doesn’t include characteristics without default values.

    Declaration

    Objective-C

    + (nonnull NSArray<RFSImageQualityCharacteristic *> *)allRecommended;

    Swift

    class func allRecommended() -> [ImageQualityCharacteristic]
  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    RFS_EMPTY_INIT_UNAVAILABLE
  • Unavailable

    Not the designated initializer

    Undocumented

    Declaration

    Objective-C

    RFS_EMPTY_INIT_UNAVAILABLE