MBPdf417Recognizer


@interface MBPdf417Recognizer : MBRecognizer <NSCopying>

A recognizer that can scan PDF417 2D barcodes.

  • Undocumented

    Declaration

    Objective-C

    MB_INIT

    Swift

    init()
  • PDF417 recognizer results

    Declaration

    Objective-C

    @property (readonly, strong, nonatomic)
        MBPdf417RecognizerResult *_Nonnull result;

    Swift

    var result: MBPdf417RecognizerResult { get }
  • Set this to YES to scan even barcode not compliant with standards For example, malformed PDF417 barcodes which were incorrectly encoded

    Use only if necessary because it slows down the recognition process

    Default: YES

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL scanUncertain;

    Swift

    var scanUncertain: Bool { get set }
  • Set this to YES to scan barcodes which don’t have quiet zone (white area) around it

    Use only if necessary because it slows down the recognition process

    Default: NO

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL nullQuietZoneAllowed;

    Swift

    var nullQuietZoneAllowed: Bool { get set }
  • Set this to YES to allow scanning barcodes with inverted intensities (i.e. white barcodes on black background)

    NOTE: this options doubles the frame processing time

    Default: NO

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) BOOL scanInverse;

    Swift

    var scanInverse: Bool { get set }