Dev Center
Swift
Objective-C
Table of contents

ReadRateFirstSettings Sample

The Read-Rate-First Settings Sample illustrates how to maximize the rate when using Dynamsoft Barcode Reader Android SDK. Generally, the Read Rate of a barcode reader refers to the rate of successfully recognized barcode among all barcodes in the given image in one scan.

View Samples (on GitHub)

Regular Settings

The Region Definition

It is not recommended to make configurations on the scan region if the app is focusing on improving the Read-Rate. Dynamsoft Barcode Reader Android SDK will scan the full image by default.

The Format Specification

The barcode formats can be specified via PublicRuntimeSetting. The default value of DBR is not supporting all available barcode formats. Optimizing the barcode format settings to cover the requirements will help you to create a high-efficiency and high-read-rate barcode reader that covers your usage scenario.

Related APIs

The Barcode Count

The barcode count setting determines the maximum barcodes the barcode reader can recognize at once from a single image/frame. Increasing the expected barcode count benefits the read rate but declines the reading speed at the same time.

Modes Parameter Settings

Suppose the barcode format and the barcode count are completely set. The main factors that determine the read rate are how to localize as many barcodes as possible and how to recognize all the localized barcodes.

Localization Friendly Parameters

The following pre-processing modes parameter settings will benefit the localization process. The barcode reader always tries different parameter combinations to find as many barcodes as the pre-set value. Despite the influence on processing speed, pre-set more parameters will definitely improve the read rate of your barcode reader.

Modes Parameter Description
ColourConversionModes Convert the coloured image into grayscale image.
GrayscaleTransformationModes Switch between the original and invert image when processing the grayscale images.
RegionPredetectionModes Algorithm that pre-detect the barcode region.
ImagePreprocessingModes Pre-processing on the barcodes for different scenarios.
BinarizationModes Pre-processing on the barcodes by binarization.
LocalizationModes The modes that applied to localize the barcode.

Barcode Reading Friendly Parameters

The following parameters will benefit the barcode decoding.

Modes Parameter Description
ScaleUpModes Enhance the read rate of small sized barcodes.
DeformationResistingModes Enhance the read rate of deformed barcodes (QR & DataMatrix barcodes only).
DeblurModes Enhance the read rate when processing a blurry image.
MirrorMode Try decoding by mirroring the barcodes.
DPMCodeReadingModes Enhance the recognition of DPM barcodes.

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version (10.2.10)
    • Version 10.x
      • Version 10.0.21
      • Version 10.0.20
    • Version 9.x
      • Version 9.6.20
      • Version 9.6.11
      • Version 9.6.10
      • Version 9.6.0
      • Version 9.4.0
      • Version 9.2.13
      • Version 9.2.11
      • Version 9.2.10
      • Version 9.0.2
      • Version 9.0.1
      • Version 9.0.0
    • Version 8.x
      • Version 8.9.3
      • Version 8.9.1
      • Version 8.9.0
      • Version 8.8.0
      • Version 8.6.0
      • Version 8.4.0
      • Version 8.2.1
      • Version 8.2.0
      • Version 8.1.2
      • Version 8.1.0
      • Version 8.0.0
    • Version 7.x
      • Version 7.6.0
      • Version 7.5.0
    Change +