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
verIDInstance of
VerIDto use for face detection and recognition and for user managementsettingsSession settings
imageObservableObservable that produces images and default face bounds
-
Start the session
Declaration
Swift
public func start() -
Cancel the session
Declaration
Swift
public func cancel()
Session Class Reference