Barcode Reader Plugin is used to read barcode from the input images using Zxing. Barcode Reader plugin is used to read the following barcode types:

  1. CODE39
  2. CODE93
  3. CODE128
  4. ITF
  5. PDF417
  6. QR
  9. EAN13

If any barcode is detected on the images being processed by barcode reader plugin then the value decoded for the barcode is considered as document type name for barcode classification in Document Assembler.

Extracted barcode value should match one of the document type value defined in the batch class having this plugin.


Configurable Properties

Following are the list of configurable properties for the plugin:


[table caption=”” width=”800″ colwidth=”20|120|100″ colalign=”center|center|left|left”]
Configurable property,Type of value,Value options,Description
Barcode Valid Extensions,String,”.tif; .gif”,These are the valid extension of the input images file for decoding the barcode.
Barcode Max Confidence,Integer,NA,This is max confidence to be set if the barcode is decoded on the input images.
Barcode Min Confidence,Integer,NA,This is the min confidence to be set if the barcode is not found on the input images.
Barcode Classification Switch,String,ON~~OFF,Switch is used to turn ON/OFF the barcode reader plugin. Default value is ON
Barcode Reader Type,String,CODE39~~CODE93~~CODE128~~ITF~~PDF417~~QR~~DATAMATRIX~~CODABAR~~EAN13,These values are used to decode the barcode type using the barcode reader plugin.


This is shown in the screen shot given below:




Steps of execution

  1. This plug-in works in the page process phase of the application when all the import processing on the batch has been done and it’s ready for page processing.
  2. The plug-in decodes the barcodes on the input images.
  3. After all the work is done, it writes the information into batch.xml file for the barcode being decoded.


The plugin assumes the import processing of the batch has been done properly and after this plugin will decode the barcode from the input images.


Following are few common error messages received due to mal-functioning of the plugin:


[table caption=”” width=”800″ colwidth=”20|120|100″ colalign=”center|center|left|left”]
S. No.,Error message,Possible root cause
1,No pages found in batch XML.,Invalid Batch.xml present in Batch Instance Folder.
2,No valid extensions are specified in resources.,No “Barcode Valid Extensions” extensions found in the database.
3,File {image name} has invalid extension.,Input image file has an invalid file extension and cannot be processed by Barcode Reader Plugin.