public class ScannerConfig.OcrParams extends Object
Modifier and Type | Field and Description |
---|---|
com.symbol.emdk.barcode.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.
|
com.symbol.emdk.barcode.ScannerConfig.OcrLines |
ocrLines
Number of OCR lines to decode.
|
int |
quietZone
Setting to change the quiet zone to be considered in OCR capturing.
|
String |
template
Setting to change the template to be used in OCR capturing.
|
public com.symbol.emdk.barcode.ScannerConfig.InverseOcr inverseOcr
Example Usage: ocrParams.inverseOcr = InverseOcr.REGULAR_ONLY;
public com.symbol.emdk.barcode.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 String template
Example Usage: ocrParams.template = "Template1";