Class

VNDetectFaceCaptureQualityRequest

A request that produces a floating-point number representing the capture quality of a given face in a photo.

Declaration

class VNDetectFaceCaptureQualityRequest : VNImageBasedRequest

Overview

This request produces or updates a VNFaceObservation object's property faceCaptureQuality with a floating-point value. The float will be a value between 0 and 1. Faces with quality closer to 1 are better lit, sharper, and centrally positioned than faces with quality closer to 0. If the request fails, or the face observation has never been processed, the property faceCaptureQuality will be nil.

See Also

Determining Capture Quality

var faceCaptureQuality: Float?

The capture quality of the face, normalized between 0.0 and 1.0.

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