RFSHeadOcclusion

Objective-C

@interface RFSHeadOcclusion: NSObject

/// Whether the person wears dark glasses.
/// The range is from 0 to 1 where 0 is dark glasses absence.
+(RFSImageQualityCharacteristic *)darkGlasses;

/// Whether there are reflections on glasses.
/// The range is from 0 to 1 where 0 is reflections absence.
/// In the current release, always succeeds. Will be developed in the coming releases.
+(RFSImageQualityCharacteristic *)reflectionOnGlasses;

/// Whether the glasses frames do not obscure eye details and the irises of both eyes are visible.
/// The range is from 0 to 20 where 0 the absence of frames (glasses).
+(RFSImageQualityCharacteristic *)framesTooHeavy;

/// Whether the face is visible and not occluded.
/// The range is from 0 to 1 where 0 is face occlusion absence.
+(RFSImageQualityCharacteristic *)faceOccluded;

/// Whether there is any head coverage other than religious headwear.
/// The range is from 0 to 1.
+(RFSImageQualityCharacteristic *)headCovering;

/// Whether the forehead is covered.
/// The range is from 0 to 1.
+(RFSImageQualityCharacteristic *)foreheadCovering;

/// Whether the makeup is too strong.
/// In the current release, always succeeds. Will be developed in the coming releases.
/// The range is from 0 to 1.
+(RFSImageQualityCharacteristic *)strongMakeup;

/// Whether the person is wearing headphones.
/// /// The range is from 0 to 1 where 0 is headphones absence.
+(RFSImageQualityCharacteristic *)headphones;

/// Whether the person is wearing a medical mask.
/// The range is from 0 to 1 where 0 is medical mask absence.
+(RFSImageQualityCharacteristic *)medicalMask;

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

@end

Swift

class HeadOcclusion : NSObject

Undocumented

  • Whether the person wears dark glasses. The range is from 0 to 1 where 0 is dark glasses absence.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)darkGlasses;

    Swift

    class func darkGlasses() -> ImageQualityCharacteristic
  • Whether there are reflections on glasses. The range is from 0 to 1 where 0 is reflections absence. In the current release, always succeeds. Will be developed in the coming releases.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)reflectionOnGlasses;

    Swift

    class func reflectionOnGlasses() -> ImageQualityCharacteristic
  • Whether the glasses frames do not obscure eye details and the irises of both eyes are visible. The range is from 0 to 20 where 0 the absence of frames (glasses).

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)framesTooHeavy;

    Swift

    class func framesTooHeavy() -> ImageQualityCharacteristic
  • Whether the face is visible and not occluded. The range is from 0 to 1 where 0 is face occlusion absence.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)faceOccluded;

    Swift

    class func faceOccluded() -> ImageQualityCharacteristic
  • Whether there is any head coverage other than religious headwear. The range is from 0 to 1.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)headCovering;

    Swift

    class func headCovering() -> ImageQualityCharacteristic
  • Whether the forehead is covered. The range is from 0 to 1.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)foreheadCovering;

    Swift

    class func foreheadCovering() -> ImageQualityCharacteristic
  • Whether the makeup is too strong. In the current release, always succeeds. Will be developed in the coming releases. The range is from 0 to 1.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)strongMakeup;

    Swift

    class func strongMakeup() -> ImageQualityCharacteristic
  • Whether the person is wearing headphones. /// The range is from 0 to 1 where 0 is headphones absence.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)headphones;

    Swift

    class func headphones() -> ImageQualityCharacteristic
  • Whether the person is wearing a medical mask. The range is from 0 to 1 where 0 is medical mask absence.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)medicalMask;

    Swift

    class func medicalMask() -> 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]