FaceBiometricDataEncoding

public struct FaceBiometricDataEncoding

Represents biometric face data conforming to the ISO/IEC 19794-5 standard.

  • Version of the biometric data format.

    Declaration

    Swift

    public private(set) var version: Int? { get }
  • Length of the biometric record.

    Declaration

    Swift

    public private(set) var lengthOfRecord: Int? { get }
  • Number of biometric images present.

    Declaration

    Swift

    public private(set) var numberOfImages: Int? { get }
  • Overall length of the record data.

    Declaration

    Swift

    public private(set) var recordDataLength: Int? { get }
  • Number of facial feature points.

    Declaration

    Swift

    public private(set) var featurePoints: Int? { get }
  • Gender of the biometric subject.

    Declaration

    Swift

    public private(set) var gender: Int? { get }
  • Eye color of the subject.

    Declaration

    Swift

    public private(set) var eyeColor: Int? { get }
  • Hair color of the subject.

    Declaration

    Swift

    public private(set) var hairColor: Int? { get }
  • Feature characteristics mask.

    Declaration

    Swift

    public private(set) var featureMask: Int? { get }
  • Detected facial expression.

    Declaration

    Swift

    public private(set) var expression: Int? { get }
  • Pose angle of the subject.

    Declaration

    Swift

    public private(set) var poseAngle: Int? { get }
  • Uncertainty of the pose angle.

    Declaration

    Swift

    public private(set) var poseAngleUncertainty: Int? { get }
  • Type of face image.

    Declaration

    Swift

    public private(set) var imageType: Int? { get }
  • Image data type.

    Declaration

    Swift

    public private(set) var imageDataType: Int? { get }
  • Width of the face image.

    Declaration

    Swift

    public private(set) var imageWidth: Int? { get }
  • Height of the face image.

    Declaration

    Swift

    public private(set) var imageHeight: Int? { get }
  • Image color space.

    Declaration

    Swift

    public private(set) var imageColorSpace: Int? { get }
  • Image source type.

    Declaration

    Swift

    public private(set) var sourceType: Int? { get }
  • Device type used for acquisition.

    Declaration

    Swift

    public private(set) var deviceType: Int? { get }
  • Quality of the face image.

    Declaration

    Swift

    public private(set) var quality: Int? { get }
  • Face image data.

    Declaration

    Swift

    internal private(set) var imageData: [UInt8]? { get }
  • Representation of the face image as a UIImage object.

    Declaration

    Swift

    public var image: UIImage? { get }
  • Parses data conforming to the ISO/IEC 19794-5 standard and returns a FaceBiometricDataEncoding structure.

    Throws

    An error if the data format is invalid or if parsing errors occur.

    Declaration

    Swift

    internal static func parseISO19794_5(data: [UInt8]) throws -> FaceBiometricDataEncoding

    Parameters

    data

    Data conforming to ISO/IEC 19794-5.

    Return Value

    A FaceBiometricDataEncoding structure with parsed data.