Barcode Reader plugin
The Barcode Reader plugin is used to read bar codes from the input images using zxing. The Barcode Reader plugin is used to read the following bar code types:
-
CODE39
-
CODE93
-
CODE128
-
ITF
-
PDF417
-
QR
-
DATAMATRIX
-
CODABAR
-
EAN13
For any bar code detected on the images using the Barcode Reader plugin, that bar code decoded value is considered as the document type name for the bar code classification in Document Assembler.
Bar code values should be document type values used in the batch class having this plugin.
Configuration
The following table includes the list of configurable properties for the plugin.
Configurable property |
Type of value |
Value options |
Description |
---|---|---|---|
Barcode Valid Extensions |
String |
|
These are the valid extensions of the input images file for decoding the bar code. |
Barcode Max Confidence |
Integer |
N/A |
This is the maximum confidence to be set if the bar code is decoded on the input images. |
Barcode Min Confidence |
Integer |
N/A |
This is the minimum confidence to be set if the bar code is not found on the input images. |
Barcode Classification Switch |
String |
|
This switch enables or disables the Barcode Reader classification. Default: ON |
Barcode Reader Type |
String |
|
These values are used to decode the bar code type using the bar code reader plugin. |
Steps of execution
-
This plugin works in the page process phase of the application when all the import processing on the batch has been done and it is ready for page processing.
-
The plugin decodes the bar codes on the input images.
-
After all the work is done, it writes the information into batch.xml file for the bar code being decoded.
Dependency
The plugin assumes the import processing of the batch has been done properly and after this plugin decodes the bar code from the input images.
Troubleshooting
If a malfunction occurs with the Barcode Reader plugin, the following error messages may appear.
Error message |
Possible root cause |
---|---|
No pages found in batch XML. |
Invalid Batch.xml present in Batch Instance folder. |
No valid extensions are specified in resources. |
No valid barcode extensions found in the database. |
File {image name} has invalid extension. |
Specified image file has invalid file extension for processing with the Barcode Reader plugin. |