RFSMatchFacesDetectionFace

Objective-C


@interface RFSMatchFacesDetectionFace : NSObject

Swift

class MatchFacesDetectionFace : NSObject

RFSMatchFacesDetectionFace represents face detection information as a part of RFSMatchFacesResponse.

  • The index of the face detection object in the array of detections.

    Declaration

    Objective-C

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

    Swift

    var faceIndex: NSNumber { get }
  • Main coordinates of the detected face (eyes, nose, lips, ears and etc.).

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nonnull) NSArray<RFSPoint *> *landmarks;

    Swift

    var landmarks: [RFSPoint] { get }
  • Rectangular area of the detected face in the original image.

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGRect faceRect;

    Swift

    var faceRect: CGRect { get }
  • Rotation is measured counterclockwise in degrees, with zero indicating that a line drawn between the eyes is horizontal relative to the image orientation.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) NSNumber *rotationAngle;

    Swift

    var rotationAngle: NSNumber? { get }
  • Cropped face image from original input image. Defaults to nil. Enable request’s RFSMatchFacesRequest.thumbnails boolean property to let the service create thumbnail images.

    Declaration

    Objective-C

    @property (nonatomic, strong, readonly, nullable) UIImage *thumbnailImage;

    Swift

    var thumbnailImage: UIImage? { 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