LCFaceDetection

Objective-C

@interface LCFaceDetection : NSObject

Swift

class LCFaceDetection : NSObject

Object of the face detection.

  • Source image. Original frame with face

    Declaration

    Objective-C

    @property (nonatomic, strong, nonnull) UIImage *sourceImage;

    Swift

    var sourceImage: UIImage { get set }
  • Rect with detected face size and position.

    Declaration

    Objective-C

    @property (nonatomic) CGRect rect;

    Swift

    var rect: CGRect { get set }
  • Score which was defined while face detection.

    Declaration

    Objective-C

    @property (nonatomic) CGFloat score;

    Swift

    var score: CGFloat { get set }
  • Landmarks. Marks which are defining main 5 points of face detecion

    Declaration

    Objective-C

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

    Swift

    var landmarks5: [Any] { get set }