MBFixedDewarpPolicy
@interface MBFixedDewarpPolicy : MBDewarpPolicy
Fixed dewarp policy. Dewarp height will be exactly as defined by its dewarpHeight.
This policy is usually best for processor groups that use legacy BlinkOCR.
-
Default dewarp height value used when using default constructor.
Declaration
Objective-C
- (nonnull instancetype)init;Swift
convenience init() -
Declaration
Objective-C
- (nonnull instancetype)initWithDewarpHeight:(NSUInteger)dewarpHeight;Swift
init(dewarpHeight: UInt)Parameters
dewarpHeightDesired dewarp height in pixels. Note that if device does not support given dewarp height, the max supported by the device will be used.
-
Returns the desired dewarp height (in pixels) as specified by this policy.
Default: 100
Declaration
Objective-C
@property (readonly, assign, nonatomic) NSUInteger dewarpHeight;Swift
var dewarpHeight: UInt { get }
View on GitHub
MBFixedDewarpPolicy Class Reference