Class

VNDetectFaceCaptureQualityRequest

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

Declaration

@interface 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.

Relationships

Inherits From

See Also

Determining Capture Quality

faceCaptureQuality

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