FaceDetection

@objc(VerIDFaceDetection)
public protocol FaceDetection

Face detection protocol

  • Start a face tracking session

    Declaration

    Swift

    @objc
    func startFaceTracking() -> FaceTracking

    Return Value

    Face tracking session

  • Detect faces in image

    You will have to call createRecognizableFacesFromFaces(_:inImage:) to use the faces for face recognition

    Declaration

    Swift

    @objc
    func detectFacesInImage(_ image: VerIDImage, limit: Int32, options: UInt) throws -> [Face]

    Parameters

    image

    Image in which to detect faces

    limit

    Maximum number of faces to detect

    Return Value

    Array of faces