RRFaceDetectionResult

Objective-C

@interface RRFaceDetectionResult : NSObject

Swift

class RRFaceDetectionResult : NSObject

This containe class provides informations about detected faces using the functionality of the RRFaceDetection class.

  • Contains the bounding rectangle of the detected face in normalized image coordinates, where top left of the image is defined as (0,0).

    Declaration

    Objective-C

    @property (nonatomic, readonly) CGRect faceRect;

    Swift

    var faceRect: CGRect { get }
  • Returns information about the head orientation of the detected face

    Declaration

    Objective-C

    @property (nonatomic, readonly) RRFaceDetectionHeadOrientation headOrientation;

    Swift

    var headOrientation: RRFaceDetectionHeadOrientation { get }