RFSMatchFacesImage
Objective-C
@interface RFSMatchFacesImage : NSObject
Swift
class MatchFacesImage : NSObject
This class represents the input image and its attributes for RFSMatchFacesRequest
.
-
Unique identifier for Image object. UUID with RFC 4122 version 4 random by such as “E621E1F8-C36C-495A-93FC-0C247A3E6E5F”.
Declaration
Objective-C
@property (nonatomic, readonly, nonnull) NSString *identifier;
Swift
var identifier: String { get }
-
The underlying image.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nonnull) UIImage *image;
Swift
var image: UIImage { get }
-
The image type. The imageType influences matching results, therefore this field is required.
Declaration
Objective-C
@property (nonatomic, readonly) RFSImageType imageType;
Swift
var imageType: ImageType { get }
-
Defines whether the comparison and detection should apply for all faces found on the image. Defaults to
false
. When set tofalse
, only the most centered faces are compared and detected. Otherwise, all the faces are compared and detected.Declaration
Objective-C
@property (nonatomic, readonly) BOOL detectAll;
Swift
var detectAll: Bool { get }
-
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
-
Undocumented
Declaration
Objective-C
- (instancetype)initWithImage:(UIImage *)image imageType:(RFSImageType)imageType detectAll:(BOOL)detectAll;
Swift
init(image: UIImage, imageType: ImageType, detectAll: Bool)
-
Undocumented
Declaration
Objective-C
- (instancetype)initWithImage:(UIImage *)image imageType:(RFSImageType)imageType;
Swift
init(image: UIImage, imageType: ImageType)