RFSMatchFacesDetection

Objective-C


@interface RFSMatchFacesDetection : NSObject

Swift

class MatchFacesDetection : NSObject

RFSMatchFacesDetection represents detection results on an input image as a part of RFSMatchFacesResponse.

  • The index to the input image in the input array provided to the request.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) NSNumber *imageIndex;

    Swift

    var imageIndex: NSNumber { get }
  • The input image used for comparison operation.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) RFSMatchFacesImage *image;

    Swift

    var image: RFSMatchFacesImage { get }
  • The array of faces detected on the image.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) NSArray<RFSMatchFacesDetectionFace *> *faces;

    Swift

    var faces: [RFSMatchFacesDetectionFace] { get }
  • The error describes a failed face detection and contains RFSMatchFacesErrorCode codes. This error belongs to the RFSMatchFacesErrorDomain.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSError *error;

    Swift

    var error: (any 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