# MLKitFaceDetection Framework Reference

# Constants

The following constants are available globally.
- `


  ### [MLKFaceContourTypeFace](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceContourTypeFace)


  ` A set of points that outline the face oval.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceContour.h@T@MLKFaceContourType _Nonnull MLKFaceContourTypeFace

- `


  ### [MLKFaceContourTypeLeftEyebrowTop](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceContourTypeLeftEyebrowTop)


  ` A set of points that outline the top of the left eyebrow.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceContour.h@T@MLKFaceContourType _Nonnull MLKFaceContourTypeLeftEyebrowTop

- `


  ### [MLKFaceContourTypeLeftEyebrowBottom](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceContourTypeLeftEyebrowBottom)


  ` A set of points that outline the bottom of the left eyebrow.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceContour.h@T@MLKFaceContourType _Nonnull MLKFaceContourTypeLeftEyebrowBottom

- `


  ### [MLKFaceContourTypeRightEyebrowTop](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceContourTypeRightEyebrowTop)


  ` A set of points that outline the top of the right eyebrow.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceContour.h@T@MLKFaceContourType _Nonnull MLKFaceContourTypeRightEyebrowTop

- `


  ### [MLKFaceContourTypeRightEyebrowBottom](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceContourTypeRightEyebrowBottom)


  ` A set of points that outline the bottom of the right eyebrow.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceContour.h@T@MLKFaceContourType _Nonnull MLKFaceContourTypeRightEyebrowBottom

- `


  ### [MLKFaceContourTypeLeftEye](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceContourTypeLeftEye)


  ` A set of points that outline the left eye.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceContour.h@T@MLKFaceContourType _Nonnull MLKFaceContourTypeLeftEye

- `


  ### [MLKFaceContourTypeRightEye](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceContourTypeRightEye)


  ` A set of points that outline the right eye.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceContour.h@T@MLKFaceContourType _Nonnull MLKFaceContourTypeRightEye

- `


  ### [MLKFaceContourTypeUpperLipTop](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceContourTypeUpperLipTop)


  ` A set of points that outline the top of the upper lip.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceContour.h@T@MLKFaceContourType _Nonnull MLKFaceContourTypeUpperLipTop

- `


  ### [MLKFaceContourTypeUpperLipBottom](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceContourTypeUpperLipBottom)


  ` A set of points that outline the bottom of the upper lip.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceContour.h@T@MLKFaceContourType _Nonnull MLKFaceContourTypeUpperLipBottom

- `


  ### [MLKFaceContourTypeLowerLipTop](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceContourTypeLowerLipTop)


  ` A set of points that outline the top of the lower lip.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceContour.h@T@MLKFaceContourType _Nonnull MLKFaceContourTypeLowerLipTop

- `


  ### [MLKFaceContourTypeLowerLipBottom](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceContourTypeLowerLipBottom)


  ` A set of points that outline the bottom of the lower lip.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceContour.h@T@MLKFaceContourType _Nonnull MLKFaceContourTypeLowerLipBottom

- `


  ### [MLKFaceContourTypeNoseBridge](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceContourTypeNoseBridge)


  ` A set of points that outline the nose bridge.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceContour.h@T@MLKFaceContourType _Nonnull MLKFaceContourTypeNoseBridge

- `


  ### [MLKFaceContourTypeNoseBottom](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceContourTypeNoseBottom)


  ` A set of points that outline the bottom of the nose.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceContour.h@T@MLKFaceContourType _Nonnull MLKFaceContourTypeNoseBottom

- `


  ### [MLKFaceContourTypeLeftCheek](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceContourTypeLeftCheek)


  ` A center point on the left cheek.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceContour.h@T@MLKFaceContourType _Nonnull MLKFaceContourTypeLeftCheek

- `


  ### [MLKFaceContourTypeRightCheek](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceContourTypeRightCheek)


  ` A center point on the right cheek.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceContour.h@T@MLKFaceContourType _Nonnull MLKFaceContourTypeRightCheek

- `


  ### [MLKFaceDetectorClassificationModeNone](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:MLKFaceDetectorOptions.h@MLKFaceDetectorClassificationModeNone)


  ` Face classification mode indicating that the detector performs no classification.

  #### Declaration

  Objective-C

      static const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceDetectorOptions.h@T@MLKFaceDetectorClassificationMode
          MLKFaceDetectorClassificationModeNone = 1

- `


  ### [MLKFaceDetectorClassificationModeAll](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:MLKFaceDetectorOptions.h@MLKFaceDetectorClassificationModeAll)


  ` Face classification mode indicating that the detector performs all classifications.

  #### Declaration

  Objective-C

      static const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceDetectorOptions.h@T@MLKFaceDetectorClassificationMode
          MLKFaceDetectorClassificationModeAll = 2

- `


  ### [MLKFaceDetectorPerformanceModeFast](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:MLKFaceDetectorOptions.h@MLKFaceDetectorPerformanceModeFast)


  ` Face detection performance mode that runs faster, but may detect fewer faces and/or return
  results with lower accuracy.

  #### Declaration

  Objective-C

      static const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceDetectorOptions.h@T@MLKFaceDetectorPerformanceMode MLKFaceDetectorPerformanceModeFast =
          1

- `


  ### [MLKFaceDetectorPerformanceModeAccurate](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:MLKFaceDetectorOptions.h@MLKFaceDetectorPerformanceModeAccurate)


  ` Face detection performance mode that runs slower, but may detect more faces and/or return
  results with higher accuracy.

  #### Declaration

  Objective-C

      static const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceDetectorOptions.h@T@MLKFaceDetectorPerformanceMode
          MLKFaceDetectorPerformanceModeAccurate = 2

- `


  ### [MLKFaceDetectorLandmarkModeNone](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:MLKFaceDetectorOptions.h@MLKFaceDetectorLandmarkModeNone)


  ` Face landmark mode indicating that the detector performs no landmark detection.

  #### Declaration

  Objective-C

      static const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceDetectorOptions.h@T@MLKFaceDetectorLandmarkMode MLKFaceDetectorLandmarkModeNone = 1

- `


  ### [MLKFaceDetectorLandmarkModeAll](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:MLKFaceDetectorOptions.h@MLKFaceDetectorLandmarkModeAll)


  ` Face landmark mode indicating that the detector performs landmark detection.

  #### Declaration

  Objective-C

      static const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceDetectorOptions.h@T@MLKFaceDetectorLandmarkMode MLKFaceDetectorLandmarkModeAll = 2

- `


  ### [MLKFaceDetectorContourModeNone](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:MLKFaceDetectorOptions.h@MLKFaceDetectorContourModeNone)


  ` Face contour mode indicating that the detector performs no contour detection.

  #### Declaration

  Objective-C

      static const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceDetectorOptions.h@T@MLKFaceDetectorContourMode MLKFaceDetectorContourModeNone = 1

- `


  ### [MLKFaceDetectorContourModeAll](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:MLKFaceDetectorOptions.h@MLKFaceDetectorContourModeAll)


  ` Face contour mode indicating that the detector performs contour detection.

  #### Declaration

  Objective-C

      static const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceDetectorOptions.h@T@MLKFaceDetectorContourMode MLKFaceDetectorContourModeAll = 2

- `


  ### [MLKFaceLandmarkTypeMouthBottom](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceLandmarkTypeMouthBottom)


  ` The center of the bottom lip.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceLandmark.h@T@MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeMouthBottom

- `


  ### [MLKFaceLandmarkTypeMouthRight](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceLandmarkTypeMouthRight)


  ` The right corner of the mouth

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceLandmark.h@T@MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeMouthRight

- `


  ### [MLKFaceLandmarkTypeMouthLeft](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceLandmarkTypeMouthLeft)


  ` The left corner of the mouth

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceLandmark.h@T@MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeMouthLeft

- `


  ### [MLKFaceLandmarkTypeLeftEar](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceLandmarkTypeLeftEar)


  ` The midpoint of the left ear tip and left ear lobe.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceLandmark.h@T@MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeLeftEar

- `


  ### [MLKFaceLandmarkTypeRightEar](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceLandmarkTypeRightEar)


  ` The midpoint of the right ear tip and right ear lobe.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceLandmark.h@T@MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeRightEar

- `


  ### [MLKFaceLandmarkTypeLeftEye](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceLandmarkTypeLeftEye)


  ` The left eye.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceLandmark.h@T@MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeLeftEye

- `


  ### [MLKFaceLandmarkTypeRightEye](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceLandmarkTypeRightEye)


  ` The right eye.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceLandmark.h@T@MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeRightEye

- `


  ### [MLKFaceLandmarkTypeLeftCheek](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceLandmarkTypeLeftCheek)


  ` The left cheek.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceLandmark.h@T@MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeLeftCheek

- `


  ### [MLKFaceLandmarkTypeRightCheek](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceLandmarkTypeRightCheek)


  ` The right cheek.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceLandmark.h@T@MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeRightCheek

- `


  ### [MLKFaceLandmarkTypeNoseBase](https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Constants#/c:@MLKFaceLandmarkTypeNoseBase)


  ` The midpoint between the nostrils where the nose meets the face.

  #### Declaration

  Objective-C

      extern const https://developers.google.com/ml-kit/reference/ios/mlkitfacedetection/api/reference/Type-Definitions#/c:MLKFaceLandmark.h@T@MLKFaceLandmarkType _Nonnull MLKFaceLandmarkTypeNoseBase