A request that produces a floating-point number representing the capture quality of a given face in a photo.
SDKs
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
Framework
- Vision
Declaration
@interface VNDetectFaceCaptureQualityRequest : VNImage Based Request
Overview
This request produces or updates a VNFace
object's property face
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 face
will be nil
.