RFSEyesCharacteristics

Objective-C

@interface RFSEyesCharacteristics: NSObject

/// Whether the right eye is closed.
/// The range is from 0 to 1 where 1 is the eye is fully closed.
+ (RFSImageQualityCharacteristic *)eyeRightClosed;

/// Whether the left eye is closed.
/// The range is from 0 to 1 where 1 is the eye is fully closed.
+ (RFSImageQualityCharacteristic *)eyeLeftClosed;

/// Whether the right eye is occluded.
/// The range is from 0 to 1 where 1 is the eye is fully occluded.
+ (RFSImageQualityCharacteristic *)eyeRightOccluded;

/// Whether the left eye is occluded.
/// The range is from 0 to 1 where 1 is the eye is fully occluded.
+ (RFSImageQualityCharacteristic *)eyeLeftOccluded;

/// Whether there is the red-eye effect.
/// The range is from 0 to 1 where 0 is the absence of  red-eye effect.
+ (RFSImageQualityCharacteristic *)eyesRed;

/// Whether the right eye is covered with hair.
/// The range is from 0 to 1 where 1 is 100% of the eye is covered by hair.
+ (RFSImageQualityCharacteristic *)eyeRightCoveredWithHair;

/// Whether the left eye is covered with hair.
/// The range is from 0 to 1 where 1 is 100% of the eye is covered by hair.
+ (RFSImageQualityCharacteristic *)eyeLeftCoveredWithHair;

/// Whether the person is not looking directly at the camera.
/// The range is from 0 to 1 where 0 is for absolutely direct look.
+ (RFSImageQualityCharacteristic *)offGaze;

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

RFS_EMPTY_INIT_UNAVAILABLE

@end

Swift

class Eyes : NSObject

Undocumented

  • Whether the right eye is closed. The range is from 0 to 1 where 1 is the eye is fully closed.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)eyeRightClosed;

    Swift

    class func eyeRightClosed() -> ImageQualityCharacteristic
  • Whether the left eye is closed. The range is from 0 to 1 where 1 is the eye is fully closed.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)eyeLeftClosed;

    Swift

    class func eyeLeftClosed() -> ImageQualityCharacteristic
  • Whether the right eye is occluded. The range is from 0 to 1 where 1 is the eye is fully occluded.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)eyeRightOccluded;

    Swift

    class func eyeRightOccluded() -> ImageQualityCharacteristic
  • Whether the left eye is occluded. The range is from 0 to 1 where 1 is the eye is fully occluded.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)eyeLeftOccluded;

    Swift

    class func eyeLeftOccluded() -> ImageQualityCharacteristic
  • Whether there is the red-eye effect. The range is from 0 to 1 where 0 is the absence of red-eye effect.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)eyesRed;

    Swift

    class func eyesRed() -> ImageQualityCharacteristic
  • Whether the right eye is covered with hair. The range is from 0 to 1 where 1 is 100% of the eye is covered by hair.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)eyeRightCoveredWithHair;

    Swift

    class func eyeRightCoveredWithHair() -> ImageQualityCharacteristic
  • Whether the left eye is covered with hair. The range is from 0 to 1 where 1 is 100% of the eye is covered by hair.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)eyeLeftCoveredWithHair;

    Swift

    class func eyeLeftCoveredWithHair() -> ImageQualityCharacteristic
  • Whether the person is not looking directly at the camera. The range is from 0 to 1 where 0 is for absolutely direct look.

    Declaration

    Objective-C

    + (nonnull RFSImageQualityCharacteristic *)offGaze;

    Swift

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