DetectedData

public struct DetectedData

Detected ID capture data.

Enumerations

  • Detected document side. (Front or back.)

    See more

    Declaration

    Swift

    public enum DocumentSide

Properties

  • Detected document rectangle within the captured image.

    Declaration

    Swift

    public var documentLocation: CGRect
  • Detected document rectangle confidence within the captured image.

    Declaration

    Swift

    public var documentConfidence: Float
  • Largest detected face rectangle within the captured image.

    Declaration

    Swift

    public var faceLocation: CGRect?
  • Full image size.

    Declaration

    Swift

    public var fullImageSize: CGSize
  • Captured ID side type.

    Declaration

    Swift

    public var type: String?
  • The number of sides this document type should have.

    Declaration

    Swift

    public var sides: Int
  • Detected data document side. (Front or back.)

    Declaration

    Swift

    public var side: DocumentSide?
  • Whether or not the detected document side should have a photo.

    Declaration

    Swift

    public var shouldHavePhoto: Bool
  • Whether or not the detected document side should have an MRZ.

    Declaration

    Swift

    public var shouldHaveMrz: Bool
  • Whether or not the detected document side should have a barcode.

    Declaration

    Swift

    public var shouldHaveBarcode: Bool { get }
  • Whether or not a document was determined to be real.

    Declaration

    Swift

    public var isReal: Bool?
  • Average measured realness.

    Declaration

    Swift

    public var realness: Float?
  • Average measured photo copy .

    Declaration

    Swift

    public var avgPhotoCopy: Float?
  • Average measured screen.

    Declaration

    Swift

    public var avgScreen: Float?
  • Whether or not a photo was found on the detected document side.

    Declaration

    Swift

    public var isPhotoPresent: Bool
  • mrz

    The detected MRZ

    Declaration

    Swift

    public var mrz: MRZResult?
  • The detected barcode.

    Declaration

    Swift

    public var barcode: [String : String]?
  • nfc

    The detected passport NFC chip data.

    Declaration

    Swift

    public var nfc: NFCPassportModel?
  • Whether or not the NFC face image matched the detected face image.

    Declaration

    Swift

    public var nfcFaceImageMatched: Bool?
  • Declaration

    Swift

    public var nfcFaceImageMatchDistance: Float?
  • Captured ID type.

    Declaration

    Swift

    public var idType: String?
  • Captured ID country.

    Declaration

    Swift

    public var country: String?
  • Captured ID state.

    Declaration

    Swift

    public var state: String?
  • Detected ID barcode type.

    Declaration

    Swift

    public var barcodeType: String?
  • Detected document image.

    Declaration

    Swift

    public var image: UIImage?
  • Detected face image.

    Declaration

    Swift

    public var faceImage: UIImage?