MBIDeepOcrEngineOptions


@interface MBIDeepOcrEngineOptions : MBIBaseOcrEngineOptions <NSCopying>

Options used for OCR process. These options enable you to customize how some OCR parsers work. For example, you can set nms threshold, score threshold, the ID of the requested Deep OCR model etc.

  • Returns or sets nms threshold for deep ocr postprocessing

    Default: 0.3f

    Declaration

    Objective-C

    @property (nonatomic) CGFloat deepOcrPostprocessorNmsThreshold;

    Swift

    var deepOcrPostprocessorNmsThreshold: CGFloat { get set }
  • Returns or sets score threshold for deep ocr postprocessing

    Default: 0.15f

    Declaration

    Objective-C

    @property (nonatomic) CGFloat deepOcrPostprocessorScoreThreshold;

    Swift

    var deepOcrPostprocessorScoreThreshold: CGFloat { get set }
  • Returns or sets model for deep ocr postprocessing

    Default: MBIBlinkOCR

    Declaration

    Objective-C

    @property (nonatomic) MBIDeepOcrModel deepOcrModel;

    Swift

    var deepOcrModel: MBIDeepOcrModel { get set }
  • Returns or sets model for deep ocr postprocessing

    Default: MBIBlinkOCR

    Declaration

    Objective-C

    @property (nonatomic) NSString *_Nonnull deepOcrModelString;

    Swift

    unowned(unsafe) var deepOcrModelString: NSString { get set }