MBRawParser


@interface MBRawParser : MBParser <NSCopying>

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

  • Undocumented

    Declaration

    Objective-C

    MB_INIT

    Swift

    init()
  • License plates parser result

    Declaration

    Objective-C

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

    Swift

    var result: MBRawParserResult { 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 (assign, readwrite, 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 MBOcrEngineOptions

    Declaration

    Objective-C

    @property (readwrite, strong, nonatomic)
        MBBaseOcrEngineOptions *_Nonnull ocrEngineOptions;

    Swift

    var ocrEngineOptions: MBBaseOcrEngineOptions { get set }