FaceDetectionResult

@objc
public class FaceDetectionResult : NSObject, Codable

Result of face detection ran in a Ver-ID session

  • Size of the image used for face detection (orientation corrected)

    Declaration

    Swift

    @objc
    public let imageSize: CGSize
  • Face detected in the image

    Declaration

    Swift

    @objc
    public let face: Face?
  • Smoothed bounds of the detected face

    Declaration

    Swift

    @objc
    public let faceBounds: CGRect
  • Smoothed angle of the detected face

    Declaration

    Swift

    @objc
    public let faceAngle: EulerAngle?
  • Face detection status within the session

    Declaration

    Swift

    @objc
    public let status: FaceDetectionStatus
  • Requested bearing

    Declaration

    Swift

    @objc
    public let requestedBearing: Bearing
  • Optional name of the image processor used to prepare the image for face detection

    Declaration

    Swift

    @objc
    public let imageProcessorName: String?
  • Declaration

    Swift

    required public init(from decoder: Decoder) throws
  • Declaration

    Swift

    public func encode(to encoder: Encoder) throws