MBDeepOcrEngineOptions


@interface MBDeepOcrEngineOptions : MBBaseOcrEngineOptions <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 (assign, readwrite, 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 (assign, readwrite, nonatomic)
        CGFloat deepOcrPostprocessorScoreThreshold;

    Swift

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

    Default: MBBlinkOCR

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) MBDeepOcrModel deepOcrModel;

    Swift

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

    Default: MBBlinkOCR

    Declaration

    Objective-C

    @property (assign, readwrite, nonatomic) NSString *_Nonnull deepOcrModelString;

    Swift

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