CIDetectorTypeFace
A detector that searches for faces in a still image or video, returning Cifacefeature objects that provide information about detected faces.
Declaration
let CIDetectorTypeFace: StringDiscussion
For better accuracy and performance in face detection, use the CIDetectorImageOrientation key to specify the image orientation when using the features(in:options:) method.