Sample Code

Selecting a Selfie Based on Capture Quality

Compare face capture quality in a set of images using Vision.



See Also

Face Detection

class VNDetectFaceRectanglesRequest

An image analysis request that finds faces within an image.

class VNDetectFaceLandmarksRequest

An image analysis request that finds facial features (such as the eyes and mouth) in an image.

class VNFaceObservation

Face or facial-feature information detected by an image analysis request.

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