An image analysis request that finds facial features (such as the eyes and mouth) in an image.
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
By default, a face landmarks request first locates all faces in the input image, then analyzes each to detect facial features.
If you’ve already located all the faces in an image, or want to detect landmarks in only a subset of the faces in the image, set the
input property to an array of
VNFace objects representing the faces you want to analyze. (You can either use face observations output by a
VNDetect or manually create
VNFace instances with the bounding boxes of the faces you want to analyze).