MBRecognitionResult

@objc
public class MBRecognitionResult : NSObject

Class representing the results of document scanning

  • General description of the result.

    • Default: String made of firstName and lastName fields, can be “” if first or last name don’t exist in the results.

    Declaration

    Swift

    @objc
    public let resultTitle: String
  • All the fields scanned during the scanning process of one document. Contains both front and back side results if both side scanning is enabled.

    Declaration

    Swift

    @objc
    public let resultEntries: [MBField]
  • Image of the front side of the document.

    • If the document recognizer supports document image retrieval it will be returned.

    Declaration

    Swift

    @objc
    public let frontSideDocumentImage: UIImage?
  • Image of the back side of the document.

    • If the document recognizer supports document image retrieval it will be returned.

    Declaration

    Swift

    @objc
    public let backSideDocumentImage: UIImage?
  • Face image of the document.

    • If the document recognizer supports face image retrieval it will be returned.

    Declaration

    Swift

    @objc
    public let faceImage: UIImage?
  • Signature image of the document.

    • If the document recognizer supports signature image retrieval it will be returned.

    Declaration

    Swift

    @objc
    public let signatureImage: UIImage?
  • Declaration

    Swift

    public override var description: String { get }