DetectedFace
@objc(VerIDDetectedFace)
public class DetectedFace : NSObject, Codable
Represents a face detected in a Ver-ID session
-
Face
Declaration
Swift
@objc public var face: Face
-
Bearing of the face
Declaration
Swift
@objc public var bearing: Bearing
-
URL of the image in which the face was detected
Declaration
Swift
@objc public var imageURL: URL?
-
Constructor
Declaration
Swift
@objc public init(face: Face, bearing: Bearing, imageURL: URL? = nil)
Parameters
face
Face
bearing
Bearing
imageURL
URL of the image in which the face was detected
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Declaration
Swift
public required init(from decoder: Decoder) throws