MBPRawParser

Objective-C


@interface MBPRawParser : MBPParser <NSCopying>

Swift

class MBPRawParser : MBPParser, NSCopying

MBPRawParser that simply returns the string version of raw OCR result, without performing any smart parsing operations.

  • License plates parser result

    Declaration

    Objective-C

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

    Swift

    var result: MBPRawParserResult { get }
  • Enable the usage of algorithm for combining consecutive OCR results between video frames for improving OCR quality. By default this is turned off.

    Note: This option works together only with if instance of {@link com.microblink.entities.ocrengine.legacy.BlinkOCREngineOptions} is given to {@link #setOcrEngineOptions(com.microblink.entities.ocrengine.AbstractOCREngineOptions)}. Otherwise, it will not be enabled and {@link IllegalArgumentException} will be thrown.

    Default: NO

    Declaration

    Objective-C

    @property (nonatomic) BOOL useSieve;

    Swift

    var useSieve: Bool { get set }
  • Sets the OCR engine options used in Regex OCR parser. Returns the OCR engine options used in Regex OCR parser.

    Default: default instance of MBPOcrEngineOptions

    Declaration

    Objective-C

    @property (nonatomic, strong) MBPBaseOcrEngineOptions *_Nonnull ocrEngineOptions;

    Swift

    var ocrEngineOptions: MBPBaseOcrEngineOptions { get set }