IPFacialViewControllerDelegate

@objc
public protocol IPFacialViewControllerDelegate

Protocol for the facial view controller

  • Called when ACFacialViewController has collected the required number of faces

    Declaration

    Swift

    func didDetectFaces(faces: [String])

    Parameters

    faces

    Array of collected images

  • Called when the facial detection process is cancelled.

    Declaration

    Swift

    func didCancelFaceDetection()
  • Called when the facial detection process fails

    Declaration

    Swift

    func didFailDetectFaces(error: Error?)