Documentation
Table of contents

Go to DCV Architecture

The following diagram shows how sections connect to each other to form tasks:

flowchart LR;
     A[1.Region Pre-Detection]-->C[2.1.Shared Detection]
     C---D[2.2.Barcode Localization]
     C---E[2.2.Text-line Localization]
     C---F[2.2.Document Detection]
     D---G[3.Barcode Decoding]
     E---H[3.Text-line Recognition]
     F---I[3.Document Normalization]
     style G fill:#f96,stroke:#333,stroke-width:4px

In this article, we’ll discuss the section Barcode Decoding which is usually the 3rd section of a “Read-Barcodes” task.

Section 3 - Barcode Decoding

The purpose of this section is to optimize the quality of the “barcode zones” found by the previous section “Barcode Localization” before decoding the barcode to get the encoded text.

Constituting Stages

This section consists of the following stages:

  1. Cropping: to cut out the barcode zones based on barcode localization results. This results in one or multiple colour images.
  2. Grayscaling: to convert the colour image(s) to grayscale.
  3. Transforming: to transform the grayscale image(s).
  4. Deformation-reducing: to reduce the deformation of the image(s).
  5. Barcode-complementing: to complement incomplete barcode(s).
  6. Up-scaling: to up-scale the barcode(s) to make it easier to decode.
  7. Barcode-decoding: to decode the barcode and get the encoded text.

Output and Parameters

Each of these stages has its own output (known as an intermediate result) and usually a specific parameter that can regulate the operation:

Stage Intermediate Result Type Related Parameter
Cropping IRUT_COLOUR_IMAGE N/A
Grayscaling IRUT_GRAYSCALE_IMAGE ColourConversionModes
Transforming IRUT_TRANSFORMED_GRAYSCALE_IMAGE GrayscaleTransformationModes
Deformation-reducing IRUT_DEFORMATION_RESISTED_BARCODE_IMAGE DeformationResistingModes
Barcode-complementing IRUT_COMPLEMENTED_BARCODE_IMAGE BarcodeComplementModes
Up-scaling IRUT_SCALED_UP_BARCODE_IMAGE ScaleUpModes
Barcode-decoding IRUT_DECODED_BARCODES N/A

This page is compatible for:

Version 1.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version (2.2.20)
    • Version 2.x
      • Version 2.2.10
      • Version 2.2.0
      • Version 2.0.30
      • Version 2.0.20
      • Version 2.0.10
      • Version 2.0.0
    Change +
    © 2003–2024 Dynamsoft. All rights reserved.
    Privacy Statement / Site Map / Home / Purchase / Support