SessionOperation
@objc
public class SessionOperation : Operation
Operation that periodically evaluates images until it produces a session result
-
Service that detects faces in the images supplied by
imageProvider
Declaration
Swift
@objc public let faceDetection: FaceDetectionService
-
Service that evaluates face detection results received from
faceDetection
Declaration
Swift
@objc public let resultEvaluation: ResultEvaluationService
-
Service that provides images for face detection
Declaration
Swift
@objc public let imageProvider: ImageProviderService
-
Service that writes images to URLs
Declaration
Swift
@objc public let imageWriter: ImageWriterService?
-
Session delegate
Declaration
Swift
@objc public weak var delegate: SessionOperationDelegate?
-
Operation constructor
Declaration
Swift
@objc public init(environment: VerID, imageProvider: ImageProviderService, faceDetection: FaceDetectionService, resultEvaluation: ResultEvaluationService, imageWriter: ImageWriterService?)
Parameters
imageProvider
Service that provides images for face detection
faceDetection
Service that detects faces in the images supplied by
imageProvider
resultEvaluation
Service that evaluates face detection results received from
faceDetection
imageWriter
Service that writes images to URLs