RFSPoseAndExpression

Objective-C

@interface RFSPoseAndExpression: NSObject

/// Checks the symmetry of the shoulders.
/// The range is from 0 to 1 where 1 is for absolutely symmetrical shoulders.
+ (RFSImageQualityCharacteristic *)shouldersPose;

/// Checks the presence of any emotional facial expression.
/// The range is from 0 to 1 where 0 is for absolutely non-emotional expression.
+ (RFSImageQualityCharacteristic *)expressionLevel;

/// Whether the mouth is open.
/// The range is from 0 to 1 where 0 is closed mouth.
+ (RFSImageQualityCharacteristic *)mouthOpen;

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

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

RFS_EMPTY_INIT_UNAVAILABLE

@end

Swift

class PoseAndExpression : NSObject

Undocumented

  • Checks the symmetry of the shoulders. The range is from 0 to 1 where 1 is for absolutely symmetrical shoulders.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)shouldersPose;

    Swift

    class func shouldersPose() -> ImageQualityCharacteristic
  • Checks the presence of any emotional facial expression. The range is from 0 to 1 where 0 is for absolutely non-emotional expression.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)expressionLevel;

    Swift

    class func expressionLevel() -> ImageQualityCharacteristic
  • Whether the mouth is open. The range is from 0 to 1 where 0 is closed mouth.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)mouthOpen;

    Swift

    class func mouthOpen() -> ImageQualityCharacteristic
  • Whether the person smiles. The range is from 0 to 1 where 0 is smile absence.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)smile;

    Swift

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