Session
public class Session : NSObject
Session
Since
2.0.0-
Observable that produces images and default face bounds
Declaration
Swift
public let imageObservable: Observable<(Image, FaceBounds)>
-
Session settings
Declaration
Swift
public let settings: VerIDSessionSettings
-
Session delegate
Declaration
Swift
public var delegate: SessionDelegate?
-
Video writer
Declaration
Swift
public var videoWriterService: VideoWriterService?
-
Initializer
Declaration
Swift
public init(verID: VerID, settings: VerIDSessionSettings, imageObservable: Observable<(Image, FaceBounds)>)
Parameters
verID
Instance of
VerID
to use for face detection and recognition and for user managementsettings
Session settings
imageObservable
Observable that produces images and default face bounds
-
Start the session
Declaration
Swift
public func start()
-
Cancel the session
Declaration
Swift
public func cancel()