MLKitFaceDetection Framework Reference

  • FaceContour represents a detected contour on a human face within an image.

  • It includes properties defining the contour's type (e.g., upper lip, lower lip) and an array of 2D points that form the contour's shape.

  • Direct initialization of FaceContour is not allowed; it is typically obtained as part of face detection results.

FaceContour

class FaceContour : NSObject

A contour on a human face detected in an image.

  • The facial contour type.

    Declaration

    Swift

    var type: FaceContourType { get }
  • An array of 2D points that make up the facial contour.

    Declaration

    Swift

    var points: [MLKVisionPoint] { get }
  • Unavailable.