MBIRawParser


@interface MBIRawParser : MBIParser <NSCopying>

MBIRawParser 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 (nonatomic, strong, readonly) MBIRawParserResult *_Nonnull result;

    Swift

    var result: MBIRawParserResult { 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 MBIOcrEngineOptions

    Declaration

    Objective-C

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

    Swift

    var ocrEngineOptions: MBIBaseOcrEngineOptions { get set }