Dynamsoft Barcode Reader v8.8 Brings 1D Barcode Detection Speed to the Next Level

barcode reader sdk v8.8

Last Updated on 2021-10-20

No matter you believe it or not, the 1D barcode detection speed of Dynamsoft Barcode Reader v8.8 is more than 2x faster than the previous version. If you need the best barcode SDK ever, do not hesitate to upgrade the SDK version.

Download

DBR v8.8

License Activation

Get a 30-day FREE Trial license.

Activate the license in different programming languages

C

void *hBarcode = NULL;
hBarcode = DBR_CreateInstance();
DBR_InitLicense(hBarcode, "LICENSE-KEY");

C++

CBarcodeReader reader = new CBarcodeReader();
reader.InitLicense("LICENSE-KEY");

C#

BarcodeReader reader = new BarcodeReader();
reader.InitLicense("LICENSE-KEY");

Java

BarcodeReader mBarcodeReader;
mBarcodeReader = new BarcodeReader("LICENSE-KEY");

Python

reader = BarcodeReader()
reader.init_license("LICENSE-KEY")

iOS

let barcodeReader = DynamsoftBarcodeReader.init(license: ("LICENSE-KEY")

Android

mbarcodeReader = new BarcodeReader("LICENSE-KEY");

How to Make 1D Barcode Detection Extremely Fast

What you need to do is to set LM_ONED_FAST_SCAN as the default localization mode:

"LocalizationModes" : [
    {
    "LibraryFileName" : "",
    "LibraryParameters" : "",
    "Mode" : "LM_ONED_FAST_SCAN"
    }
],

Here is a full example of the template file:

{
    "ImageParameter": {
        "Name": "OneDFastScan",
        "BarcodeFormatIds": [
            "BF_ONED"
        ],
        "LocalizationModes": [
            {
                "Mode": "LM_ONED_FAST_SCAN"
            }
        ],
        "DeblurModes": [
            {
                "Mode": "DM_THRESHOLD_BINARIZATION"
            },
            {
                "Mode": "DM_DIRECT_BINARIZATION"
            },
            {
                "Mode": "DM_GRAY_EQUALIZATION"
            }
        ]
    }
}

You can call DBR_InitRuntimeSettingsWithString() to initialize the runtime settings with the above JSON string:

char errorMessage[256];
DBR_InitRuntimeSettingsWithString(reader, "<JSON string>", CM_OVERWRITE, errorMessage, 256);

We make a quick test with the CODABAR sample image:

CODABAR image

VersionRecognition time
v8.687ms
v8.835ms

The following comparison chart is based on the performance test of a public barcode dataset:

1D barcode decoding performance

What’s More

To satisfy the strong market demand for the ARM64-based Barcode SDK, the ARM64 C++ libraries are bundled in the latest C++ SDK package. It has been fully tested on Raspberry Pi and Jetson Nano.

Release Notes

https://www.dynamsoft.com/barcode-reader/release-notes/

Online Documentation

https://www.dynamsoft.com/barcode-reader/introduction/

Sample Code

https://www.dynamsoft.com/barcode-reader/resources/code-gallery/

Try Online Demo

https://demo.dynamsoft.com/barcode-reader/

Dynamsoft Barcode Reader Latest Releases

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Subscribe Newsletter

Subscribe to our mailing list to get the monthly update.

Subscribename@email.com