RFSMatchFacesComparedFacesPair
Objective-C
@interface RFSMatchFacesComparedFacesPair : NSObject
Swift
class MatchFacesComparedFacesPair : NSObject
RFSMatchFacesComparedFacesPair represents a result of the RFSMatchFacesRequest attempt to compare input images.
-
The first face in the comparison pair.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nonnull) RFSMatchFacesComparedFace *first;Swift
var first: RFSMatchFacesComparedFace { get } -
The second face in the comparison pair.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nonnull) RFSMatchFacesComparedFace *second;Swift
var second: RFSMatchFacesComparedFace { get } -
The raw value returned by the service without applying any thresholds or comparison rules. The value shows the degree of similarity of compared faces, the lower - the more similar, and vice versa less similar. The
scoreis used in conjunction with the input imageimageTypeto evaluatesimilarity.See
similarityfor checking how compared faces are similar to each other.Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSNumber *score;Swift
var score: NSNumber? { get } -
Similarity of the faces pair. Floating point value from 0 to 1.
Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSNumber *similarity;Swift
var similarity: NSNumber? { get } -
The error describes a failed pair comparison and contains
RFSMatchFacesErrorCodecodes. This error belongs to theRFSMatchFacesErrorDomainDeclaration
Objective-C
@property (nonatomic, strong, readonly, nullable) NSError *error;Swift
var error: Error? { 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