Instance Property


The facial features found in the detected face.


var landmarks: VNFaceLandmarks2D? { get }


This property's value is nil for face observations produced by a VNDetectFaceRectanglesRequest analysis. Use the VNDetectFaceLandmarksRequest class to find facial features.

See Also

Finding Face Landmarks

class VNFaceLandmarks2D

A collection of all facial features detected in a face observation, with 2D geometry information for each.

class VNFaceLandmarkRegion2D

2D geometry information for a specific facial feature.

class VNFaceLandmarks

The abstract superclass for containers of face landmark information.

class VNFaceLandmarkRegion

The abstract superclass for information about a specific face landmark.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software