| java.lang.Object | ||
| ↳ | com.datalogic.device.configuration.PropertyGroup | |
| ↳ | com.datalogic.decode.configuration.SnapOcrResultSettings | |
SnapOcrResultSettings is the class that configures the Snap OCR settings related to
the OCR results.
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| lastResultTimeout | lastResultTimeout is used to setup the time (in milliseconds) during which the
last successfully decoded OCR result is considered valid. |
||||||||||
| regexFilter | regexFilter is a regular expression used to filter any OCR text, excluding
the values that don't match the filter. |
||||||||||
| resultSeparator | resultSeparator is a String providing the separator between results,
only used in concatenated mode. |
||||||||||
| resultsCombination | resultsCombination specifies how to send the OCR results, if they are concatenated
in the same barcode result or divided in different results. |
||||||||||
| roiPrefixVisible | roiPrefixVisible allows to show the ROI number as prefix inside the OCR
results, when enabled. |
||||||||||
| textBlockFormat | textBlockFormat is used to select the type of text block to use. |
||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
This is the constructor of SnapOcrResultSettings.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.datalogic.device.configuration.PropertyGroup
| |||||||||||
From class
java.lang.Object
| |||||||||||
lastResultTimeout is used to setup the time (in milliseconds) during which the
last successfully decoded OCR result is considered valid.
regexFilter is a regular expression used to filter any OCR text, excluding
the values that don't match the filter.
resultSeparator is a String providing the separator between results,
only used in concatenated mode.
resultsCombination specifies how to send the OCR results, if they are concatenated
in the same barcode result or divided in different results.
roiPrefixVisible allows to show the ROI number as prefix inside the OCR
results, when enabled. The prefix is set in the format ROI_NUMBER:OCR_TEXT, where
ROI_NUMBER indicates the index of the ROI inside the ROI settings (starting from 1)
and OCR_TEXT is the original result.
textBlockFormat is used to select the type of text block to use. This is useful to
separate the OCR result in different blocks on which to apply regular expressions.
This is the constructor of SnapOcrResultSettings.