VerIDFace
@objc
public class VerIDFace : NSObject, Codable
Represents a face found by Ver-ID
-
The original face detected by the face detection framework
Declaration
Swift
@objc public let fbFace: FBFace
-
Quality of the detected face ranging from
0.0
(worst quality) to20.0
(best quality)Declaration
Swift
@objc public let quality: Float
-
Bounds of the face within the original image
Declaration
Swift
@objc public let bounds: CGRect
-
True if the face is being processed in the background
Declaration
Swift
@objc public let processingInBackground: Bool
-
True if the face can be used for face recognition
Declaration
Swift
@objc public let suitableForRecognition: Bool
-
An identifier for the face. This may change after processing if the face is being processed.
Declaration
Swift
@objc public let id: Int
-
The location of the eye coordinates within the original image
Declaration
Swift
public let eyeCoordinates: (CGPoint, CGPoint)
-
Rotation of the face expressed as euler angle (yaw, pitch, roll)
Declaration
Swift
@objc public let rotation: EulerAngleF
-
Introduced in 3.1
Declaration
Swift
@objc private(set) public var faceTemplate: FaceTemplate?
-
Center of the face within the original image
Declaration
Swift
@objc public lazy var center: CGPoint { get set }
-
Bearing of the face derived from its rotation
Declaration
Swift
@objc public lazy var bearing: VerIDBearing { get set }
-
Declaration
Swift
public required init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws