MBUsdlRecognizer


@interface MBUsdlRecognizer : MBRecognizer <NSCopying>

A recognizer that can scan USDL.

  • Undocumented

    Declaration

    Objective-C

    MB_INIT

    Swift

    init()
  • USDL recognizer results

    Declaration

    Objective-C

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

    Swift

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

    Use only if necessary because it slows down the recognition process

    Default: YES

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite) 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: YES

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL allowNullQuietZone;

    Swift

    var allowNullQuietZone: Bool { get set }
  • Set this to YES to enable compact parser.

    Default: NO

    Declaration

    Objective-C

    @property (nonatomic, assign, unsafe_unretained, readwrite)
        BOOL enableCompactParser;

    Swift

    var enableCompactParser: Bool { get set }