FIRVisionFaceDetector


@interface FIRVisionFaceDetector : NSObject

A face detector that detects faces in an image.

  • Unavailable. Use Vision factory methods.

    Declaration

    Objective-C

    - (nonnull instancetype)init;
  • Detects faces in a given image.

    Declaration

    Objective-C

    - (void)detectInImage:(nonnull FIRVisionImage *)image
               completion:(nonnull FIRVisionFaceDetectionCallback)completion;

    Parameters

    image

    The image to use for detecting faces.

    completion

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