Instance Property

landmarks

The facial features found in the detected face.

Declaration

@property(readonly, nonatomic, strong) VNFaceLandmarks2D *landmarks;

Discussion

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

VNFaceLandmarks2D

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

VNFaceLandmarkRegion2D

2D geometry information for a specific facial feature.

VNFaceLandmarks

The abstract superclass for containers of face landmark information.

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