A collection of all facial features detected in a face observation, with 2D geometry information for each.
SDKs
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
Framework
- Vision
Declaration
class VNFaceLandmarks2D : VNFace Landmarks
Overview
This class represents the set of all detectable 2D face landmarks and regions, exposed as properties. The coordinates of the face landmarks are normalized to the dimensions of the face observation’s bounding
, with the origin at the bounding box’s lower-left corner. Use the VNImage
function to convert normalized face landmark points into absolute points within the image’s coordinate system.