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
imageProviderDeclaration
Swift
@objc public let faceDetection: FaceDetectionService -
Service that evaluates face detection results received from
faceDetectionDeclaration
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
imageProviderService that provides images for face detection
faceDetectionService that detects faces in the images supplied by
imageProviderresultEvaluationService that evaluates face detection results received from
faceDetectionimageWriterService that writes images to URLs
SessionOperation Class Reference