RFSMatchFacesRequest
Objective-C
@interface RFSMatchFacesRequest : NSObject
Swift
class MatchFacesRequest : NSObject
RFSMatchFacesRequest
compares two or more images with faces on them to find out the similarity of pairs.
The request is used as a parameter to -[RFSFaceSDK matchFaces:completion:]
.
-
Defines whether the response detections should contain
thumbnailImage
.Declaration
Objective-C
@property (nonatomic) BOOL thumbnails;
Swift
var thumbnails: Bool { get set }
-
Images with faces to match.
Declaration
Objective-C
@property (nonatomic, copy, readonly, nonnull) NSArray<RFSMatchFacesImage *> *images;
Swift
var images: [RFSMatchFacesImage] { 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)initWithImages:(nonnull NSArray<RFSMatchFacesImage *> *)images NS_DESIGNATED_INITIALIZER;
Swift
init(images: [RFSMatchFacesImage])
-
Deprecated
Deprecated in FaceSDK 3.2. Use
+[RFSMatchFacesSimilarityThresholdSplit splitPairs:bySimilarityThreshold:]
instead.The threshold value of the similarity of faces. Defaults to
0.75
. If the similarity of faces is greater or equal than the threshold, faces will be stored to thematchedFaces
array, otherwise to theunmatchedFaces
one.Declaration
Objective-C
@property (nonatomic, strong, nonnull) NSNumber *similarityThreshold;
Swift
var similarityThreshold: NSNumber { get set }