RFSShadowsAndLightning
Objective-C
@interface RFSShadowsAndLightning: NSObject
/// Whether the photo is too dark.
/// The range is from 0 to 1.
+ (RFSImageQualityCharacteristic *)tooDark;
/// Whether the photo is overexposed.
/// The range is from 0 to 1.
+ (RFSImageQualityCharacteristic *)tooLight;
/// Whether there is glare on the face.
/// The range is from 0 to 1 where 0 is the absence of glare.
+ (RFSImageQualityCharacteristic *)faceGlare;
/// Whether there are shadows on the face.
/// The range is from 0 to 1 where 0 is the absence of shadows on the face.
+ (RFSImageQualityCharacteristic *)shadowsOnFace;
/// All Group characteristics with default (recommended) values.
/// Doesn't include characteristics without default values.
+ (NSArray<RFSImageQualityCharacteristic *> *)allRecommended;
RFS_EMPTY_INIT_UNAVAILABLE
@end
Swift
class ShadowsAndLightning : NSObject
Undocumented
-
Whether the photo is too dark. The range is from 0 to 1.
Declaration
Objective-C
+ (nonnull RFSImageQualityCharacteristic *)tooDark;
Swift
class func tooDark() -> ImageQualityCharacteristic
-
Whether the photo is overexposed. The range is from 0 to 1.
Declaration
Objective-C
+ (nonnull RFSImageQualityCharacteristic *)tooLight;
Swift
class func tooLight() -> ImageQualityCharacteristic
-
Whether there is glare on the face. The range is from 0 to 1 where 0 is the absence of glare.
Declaration
Objective-C
+ (nonnull RFSImageQualityCharacteristic *)faceGlare;
Swift
class func faceGlare() -> ImageQualityCharacteristic
-
Whether there are shadows on the face. The range is from 0 to 1 where 0 is the absence of shadows on the face.
Declaration
Objective-C
+ (nonnull RFSImageQualityCharacteristic *)shadowsOnFace;
Swift
class func shadowsOnFace() -> 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