public class ScannerConfig.OcrParams
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
int |
checkDigitModulus
Set the check digit modulus value for OCR Check Digit Calculation
|
java.lang.String |
checkDigitMultiplier
Set OCR check digit multipliers for the character positions
|
ScannerConfig.OcrCheckDigitValidation |
checkDigitValidation
Select check digit validation Scheme
|
ScannerConfig.InverseOcr |
inverseOcr
Setting to change the OCR behavior for white or light words on a black or dark background.
|
int |
maxCharacters
Maximum number of OCR characters (including spaces) per line to decode.
|
int |
minCharacters
Minimum number of OCR characters (not including spaces) per line to decode.
|
ScannerConfig.OcrLines |
ocrLines
Number of OCR lines to decode.
|
ScannerConfig.OcrOrientation |
orientation
Specify the orientation of an OCR String to be read
|
int |
quietZone
Setting to change the quiet zone to be considered in OCR capturing.
|
java.lang.String |
subset
A custom group of characters in place of a preset font variant
|
java.lang.String |
template
Setting to change the template to be used in OCR capturing.
|
public ScannerConfig.InverseOcr inverseOcr
Example Usage: ocrParams.inverseOcr = InverseOcr.REGULAR_ONLY;
public ScannerConfig.OcrLines ocrLines
Example Usage: ocrParams.ocrLines = OcrLines.ONE_LINE;
public int maxCharacters
Example Usage: ocrParams.maxCharacters = 100;
public int minCharacters
Example Usage: ocrParams.minCharacters = 3;
public int quietZone
Example Usage: ocrParams.quietZone = 50;
public java.lang.String template
Example Usage: ocrParams.template = "54R";
public ScannerConfig.OcrOrientation orientation
Example Usage: ocrParams.orientation = OcrOrientation.DEGREE_90;
public java.lang.String subset
Example Usage: ocrParams.subset = "0123456789"; //supports numbers only
public int checkDigitModulus
Example Usage: ocrParams.checkDigitModulus = 1;
public java.lang.String checkDigitMultiplier
Example Usage: ocrParams.checkDigitMultiplier = "121212121212";
public ScannerConfig.OcrCheckDigitValidation checkDigitValidation
Example Usage: ocrParams.checkDigitValidation = OcrCheckDigitValidation.NONE;