Barcode Extraction plugin

This BARCODE_EXTRACTION plugin extracts bar code data and populates the data in a configured index field. The plugin uses the bar code type that is assigned in the Barcode field for the Document Type. If there are any bar codes present on images, then Transact extracts bar code data and populates it in the document level field.

Configure Barcode Extraction plugin

  1. Add the BARCODE_EXTRACTION plugin to the Extraction module.
  2. Configure the plugin properties for your use case.

    The following table describes the available plugin settings.

    Configurable property

    Value options

    Description

    Barcode Extraction Switch

    • ON
    • OFF

    Switch to decide whether or not to perform bar code extraction. By default, this is set to ON.

    Barcode Extraction Max Confidence

    • 0-100

    The maximum confidence value that is used for extraction.

    Barcode Extraction Min Confidence

    • 0-100

    The minimum confidence value that is used for extraction.

    Barcode Extraction Reader Types

    • CODE39
    • QR
    • DATAMATRIX
    • CODE128
    • CODE93
    • ITF
    • CODABAR
    • PDF417
    • EAN13

    Select one or more bar code types.

    Barcode Extraction Valid Extension

    • .tif

    • .gif

    It is used to configure all the possible file types that will be used for extraction.

Configure Barcode Extraction rules

Batch class administrators can configure bar code mapping at the index field level. You can also configure extraction rules for multiple bar code types or multiple bar codes of the same type. For example, if there are two Code39 bar codes on a document, then you can create two index fields and specify the zone by drawing an overlay for each bar code. A new node called Barcode Extraction Rule then appears in the Index Field folder of the Document Type.

  1. Under the Document Type, go to Index Fields and select the first Index Field.
  2. Under Index Field, select Barcode Extraction Rule.
  3. Draw an overlay on the image to specify the zone for the selected index field.
  4. Click Apply Barcode.
  5. Similarly, you can map the zone for the other bar code in the second field.

Troubleshooting

If a malfunction occurs with the Barcode Extraction plugin, the following error messages may appear.

Error message

Possible root cause

No valid extensions are specified in resources.

There are no values for valid extensions.

File has an invalid extension.

This occurs when Transact attempts to extract data from a .gif and the document being processed is .tif or vice versa.