Table of contents

Read Incomplete Barcodes

In some cases, barcodes may have incomplete sections due to typographical errors as shown below.

incomplete-barcodes

Incomplete Barcodes

In this case, you can enable the barcode completion logic in Dynamsoft Barcode Reader (DBR) using BarcodeComplementModes. After that, DBR will attempt to complete and correct the barcode according to the structural characteristics of the corresponding barcode type.

NOTE:

The barcode completion logic only supports QR code and Data Matrix at present.

Example

Below is an example illustrating how to configure the parameter BarcodeComplementModes.

  • Update parameter BarcodeComplementModes in your JSON template

      {
          "CaptureVisionTemplates": [
              {
                  "Name": "CV_0",
                  "ImageROIProcessingNameArray": ["TA_0" ]
              }       
          ],
          "TargetROIDefOptions" : [
              {
                  "Name": "TA_0",
                  "TaskSettingNameArray": [ "BR_0" ]
              }
          ],
          "BarcodeReaderTaskSettingOptions": [
              {
                  "Name" : "BR_0",
                  "BarcodeComplementModes": [
                      {
                          "Mode": "BCM_GENERAL"
                      }
                  ]
              }
          ]
      }
    
  • Apply the above settings following the article Use Templates for Configuring Parameters.

This page is compatible for:

Is this page helpful?

YesYes NoNo