MBIDocumentCaptureRecognizer
@interface MBIDocumentCaptureRecognizer
: MBIRecognizer <NSCopying, MBIFullDocumentImage,
MBIEncodeFullDocumentImage,
MBIFullDocumentImageExtensionFactors>
A recognizer for DocumentCaptureRecognizer
-
Undocumented
Declaration
Objective-C
MB_INIT
Swift
init()
-
DocumentCaptureRecognizer recognizer results
Declaration
Objective-C
@property (nonatomic, strong, readonly) MBIDocumentCaptureRecognizerResult *_Nonnull result;
Swift
var result: MBIDocumentCaptureRecognizerResult { get }
-
Defines how many times the same document should be detected before the detector returns this document as a result of the deteciton
Higher number means more reliable detection, but slower processing
Default: 3
Declaration
Objective-C
@property (nonatomic) NSInteger numStableDetectionsThreshold;
Swift
var numStableDetectionsThreshold: Int { get set }
-
Defines minimum document scale calculated as ratio of minimal document dimension and minimal dimension of the input image.
Default: 0.5
Declaration
Objective-C
@property (nonatomic) CGFloat minDocumentScale;
Swift
var minDocumentScale: CGFloat { get set }