VerIDFaceTracking
@objc
public class VerIDFaceTracking : NSObject, FaceTracking
Ver-ID SDK’s default implementation of the FaceTracking
protocol
-
Track face in an image
Note
The session keeps track of previously detected faces. Inexpensive landmark detection is used to detect the face until its quality deteriorates. After that full face detection is used.Throws
Error if the tracking failsDeclaration
Swift
public func trackFaceInImage(_ image: ImageProvider) throws -> Face
Parameters
image
Image in which to track the face
Return Value
Tracked face