ALOcrConfig Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | ALPluginConfig.h |
charCountX
Sets the number of characters in each text line for ‘grid’ mode.
@property (nonatomic, nullable, strong) NSNumber *charCountXDeclared In
ALPluginConfig.h
charCountY
Sets the number of text lines for ‘grid’ mode.
@property (nonatomic, nullable, strong) NSNumber *charCountYDeclared In
ALPluginConfig.h
charPaddingXFactor
Defines the average horizontal distance between two characters in ‘grid’ mode, measured in percentage of the characters width.
@property (nonatomic, nullable, strong) NSNumber *charPaddingXFactorDeclared In
ALPluginConfig.h
charPaddingYFactor
Defines the average vertical distance between two characters in ‘grid’ mode, measured in percentage of the characters height.
@property (nonatomic, nullable, strong) NSNumber *charPaddingYFactorDeclared In
ALPluginConfig.h
charWhitelist
Restricts the scanner to a set of characters to be detected.
@property (nonatomic, nullable, copy) NSString *charWhitelistDeclared In
ALPluginConfig.h
customCmdFile
Sets a custom Anyline script. The file has to be located in the project and point to a path relative from the project root.
@property (nonatomic, nullable, copy) NSString *customCmdFileDeclared In
ALPluginConfig.h
maxCharHeight
Sets a maximum character height (in pixels) to be considered in the scanning process.
@property (nonatomic, nullable, strong) NSNumber *maxCharHeightDeclared In
ALPluginConfig.h
minCharHeight
Sets a minimum character height (in pixels) to be considered in the scanning process.
@property (nonatomic, nullable, strong) NSNumber *minCharHeightDeclared In
ALPluginConfig.h
minConfidence
Sets a minimum confidence which has to be reached in order to trigger a scan result.
@property (nonatomic, nullable, strong) NSNumber *minConfidenceDeclared In
ALPluginConfig.h
minSharpness
Sets a sharpnes factor (0-100) to rule out blurry images.
@property (nonatomic, nullable, strong) NSNumber *minSharpnessDeclared In
ALPluginConfig.h
model
Sets a custom Anyline model. The file has to be located in the project and point to a path relative from the project root.
@property (nonatomic, nullable, copy) NSString *modelDeclared In
ALPluginConfig.h
scanMode
Sets whether to scan single-line texts, multi-line texts in a grid-formation or finds text automatically.
@property (nonatomic, nullable, assign) ALOcrConfigScanMode *scanModeDeclared In
ALPluginConfig.h
validationRegex
Sets a regular expression which the scanned text needs to match in order to trigger a scan result.
@property (nonatomic, nullable, copy) NSString *validationRegexDeclared In
ALPluginConfig.h