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
environmentVer-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]) throwsParameters
environmentVer-ID environment to use for face detection
imageProcessorsImage 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 -> FaceDetectionServiceParameters
settingsSession settings
Return Value
Instance of
VerIDFaceDetectionService
VerIDFaceDetectionServiceFactory Class Reference