VerIDFaceDetectionServiceFactory
@objc
public class VerIDFaceDetectionServiceFactory : NSObject, FaceDetectionServiceFactory
Ver-ID SDK’s implementation of the FaceDetectionServiceFactory
protocol
-
Constructor
Declaration
Swift
@objc public init(environment: VerID)
Parameters
environment
Ver-ID environment to use for face detection
-
Constructor
Throws
Error if the image processors array is emptySince
1.5.0Declaration
Swift
@objc public init(environment: VerID, imageProcessors: [ImageProcessorService]) throws
Parameters
environment
Ver-ID environment to use for face detection
imageProcessors
Image processors to use when preparing images for face detection. Array must not be empty
-
Create an instance of face detection service
Declaration
Swift
public func makeFaceDetectionService(settings: VerIDSessionSettings) throws -> FaceDetectionService
Parameters
settings
Session settings
Return Value
Instance of
VerIDFaceDetectionService