AI-generated Key Takeaways
-
ML Kit Face Detection provides classes for detecting and analyzing human faces in images.
-
Key classes include
MLKFace
,MLKFaceContour
,MLKFaceDetector
,MLKFaceDetectorOptions
, andMLKFaceLandmark
. -
These classes enable developers to identify faces, facial contours, and landmarks within images, offering detailed facial feature information.
-
The
MLKFaceDetector
class is central to the process, handling face detection, while other classes provide data structures for representing detected features. -
Developers can configure detection options using
MLKFaceDetectorOptions
to customize the behavior of the face detection process.
Classes
The following classes are available globally.
-
A human face detected in an image.
Declaration
Objective-C
@interface MLKFace : NSObject
-
A contour on a human face detected in an image.
Declaration
Objective-C
@interface MLKFaceContour : NSObject
-
A face detector that detects faces in an image.
Declaration
Objective-C
@interface MLKFaceDetector : NSObject
-
Options for specifying a face detector.
Declaration
Objective-C
@interface MLKFaceDetectorOptions : NSObject
-
A landmark on a human face detected in an image.
Declaration
Objective-C
@interface MLKFaceLandmark : NSObject