VisionFaceDetector

class VisionFaceDetector : NSObject

A face detector that detects faces in an image.

  • Unavailable. Use Vision factory methods.

  • Detects faces in a given image.

    Declaration

    Swift

    func detect(in image: FIRVisionImage, completion: @escaping VisionFaceDetectionCallback)

    Parameters

    image

    The image to use for detecting faces.

    completion

    Handler to call back on the main queue with faces detected or error.