MLKitFaceDetection Framework Reference
FaceLandmark
class FaceLandmark : NSObject
A landmark on a human face detected in an image.
-
The type of the facial landmark.
-
2D position of the facial landmark.
Declaration
Swift
var position: MLKVisionPoint { get }
-
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[null,null,["Last updated 2024-07-10 UTC."],[[["`FaceLandmark` represents a detected landmark on a human face within an image."],["It provides the landmark's `type` (e.g., mouth, nose) and its 2D `position` in the image."],["You cannot directly create a `FaceLandmark` instance; it's obtained from face detection results."]]],[]]