LCFaceDetection

Objective-C

@interface LCFaceDetection : NSObject

Swift

class LCFaceDetection : NSObject

Object of the face detection.

  • Source image.

    Declaration

    Objective-C

    @property (nonatomic, nonnull) UIImage *sourceImage;

    Swift

    unowned(unsafe) var sourceImage: UIImage { get set }
  • Warped image.

    Declaration

    Objective-C

    @property (nonatomic, nullable) UIImage *warpedImage;

    Swift

    unowned(unsafe) var warpedImage: UIImage? { get set }
  • Detection rect.

    Declaration

    Objective-C

    @property (nonatomic) CGRect rect;

    Swift

    var rect: CGRect { get set }
  • Score.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat score;

    Swift

    var score: CGFloat { get set }
  • Landmarks.

    Declaration

    Objective-C

    @property (nonatomic, copy) NSArray *_Nonnull landmarks5;

    Swift

    var landmarks5: [Any] { get set }