RFSSearchPersonDetection
@interface RFSSearchPersonDetection : NSObject
/// Absolute coordinates of five points of each detected face: left eye, right eye, nose, left point of lips, right point of lips.
@property (nonatomic, strong, readonly) NSArray<RFSPoint *> *landmarks;
/// Rectangular area of the detected face in the original image.
@property (nonatomic, assign, readonly) CGRect rect;
/// Base64 image of the aligned and cropped portrait.
/// Returned if `RFSDetectFacesConfiguration.outputImageParams` is set or predefined scenario is used.
@property (nullable, nonatomic, strong, readonly) UIImage *crop;
/// Rotation is measured counterclockwise in degrees, with zero indicating that a line drawn between the eyes is horizontal relative to the image orientation.
@property (nonatomic, strong, readonly) NSNumber *rotationAngle;
@end
Undocumented
-
Absolute coordinates of five points of each detected face: left eye, right eye, nose, left point of lips, right point of lips.
Declaration
Objective-C
@property (nonatomic, strong, readonly) NSArray<RFSPoint *> *_Nonnull landmarks;
-
Rectangular area of the detected face in the original image.
Declaration
Objective-C
@property (nonatomic, readonly) CGRect rect;
-
Base64 image of the aligned and cropped portrait. Returned if
RFSDetectFacesConfiguration.outputImageParams
is set or predefined scenario is used.Declaration
Objective-C
@property (nonatomic, strong, readonly, nullable) UIImage *crop;
-
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) NSNumber *_Nonnull rotationAngle;