RFSMatchFacesSimilarityThresholdSplit
Objective-C
@interface RFSMatchFacesSimilarityThresholdSplit : NSObject
Swift
class MatchFacesSimilarityThresholdSplit : NSObject
RFSMatchFacesSimilarityThresholdSplit is a result of a splits operation
Use splitPairs operation on matched faces pairs with similarityThreshold to split the results into matched and unmatched groups.
-
The threshold value of the similarity of faces used to make this result.
Declaration
Objective-C
@property (nonatomic, strong, nonnull) NSNumber *similarityThreshold;Swift
var similarityThreshold: NSNumber { get set } -
Matched pairs of faces with similarity is greater or equal than the value of
similarityThreshold.Declaration
Objective-C
@property (nonatomic, strong, readonly, nonnull) NSArray<RFSMatchFacesComparedFacesPair *> *matchedFaces;Swift
var matchedFaces: [RFSMatchFacesComparedFacesPair] { get } -
Unmatched pairs of faces which similarity is less than the value of
similarityThreshold.Declaration
Objective-C
@property (nonatomic, strong, readonly, nonnull) NSArray<RFSMatchFacesComparedFacesPair *> *unmatchedFaces;Swift
var unmatchedFaces: [RFSMatchFacesComparedFacesPair] { 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)initWithSimilarityThreshold:(NSNumber *)similarityThreshold matchedFaces:(NSArray<RFSMatchFacesComparedFacesPair *> *)matchedFaces unmatchedFaces:(NSArray<RFSMatchFacesComparedFacesPair *> *)unmatchedFaces NS_DESIGNATED_INITIALIZER;Swift
init(similarityThreshold: NSNumber, matchedFaces: [RFSMatchFacesComparedFacesPair], unmatchedFaces: [RFSMatchFacesComparedFacesPair]) -
Splits
pairspairs by givensimilarityThreshold. If the similarity of faces is greater or equal than the threshold, faces will be stored to thematchedFacesarray, otherwise to theunmatchedFacesone.Declaration
Objective-C
+ (nonnull RFSMatchFacesSimilarityThresholdSplit *) splitPairs: (nonnull NSArray<RFSMatchFacesComparedFacesPair *> *)pairs bySimilarityThreshold:(nonnull NSNumber *)similarityThreshold;Swift
/*not inherited*/ init(pairs: [RFSMatchFacesComparedFacesPair], bySimilarityThreshold similarityThreshold: NSNumber)Parameters
pairsThe input array of compared faces to split.
similarityThresholdThe threshold value of the similarity of faces.