Table of contents

Need better scanning performance?

Get a FREE customized reading template.

BarcodeReaderTaskSetting Object

The BarcodeReaderTaskSetting object configures the barcode reading process in Dynamsoft Capture Vision (DCV). Use this object to optimize speed or accuracy for your specific barcode reading requirements.

Example

{
    "Name": "BR_0",
    "MaxThreadsInOneTask": 4,
    "ExpectedBarcodesCount": 512,
    "BarcodeFormatIds": ["BF_ALL"],
    "BarcodeFormatSpecificationNameArray": null,
    "DPMCodeReadingModes": [
        {
            "Mode": "DPMCRM_SKIP"
        }
    ],
    "SectionArray": [
        {
            "Section": "ST_REGION_PREDETECTION",
            "ImageParameterName": "ip_dbrDefault",
            "StageArray": [
                {
                    "Stage": "SST_PREDETECT_REGIONS",
                    "RegionPredetectionModes": []
                }
            ]
        },
        {
            "Section": "ST_BARCODE_LOCALIZATION",
            "ImageParameterName": "ip_dbrDefault",
            "StageArray": [
                {
                    "Stage": "SST_LOCALIZE_CANDIDATE_BARCODES",
                    "LocalizationModes": []
                },
                {
                    "Stage": "SST_LOCALIZE_BARCODES"
                }
            ]
        },
        {
            "Section": "ST_BARCODE_DECODING",
            "ImageParameterName": "ip_dbrDefault",
            "StageArray": [
                {
                    "Stage": "SST_COMPLEMENT_BARCODE",
                    "BarcodeComplementModes": []
                },
                {
                    "Stage": "SST_RESIST_DEFORMATION",
                    "DeformationResistingModes": []
                },
                {
                    "Stage": "SST_SCALE_BARCODE_IMAGE",
                    "BarcodeScaleModes": []
                },
                {
                    "Stage": "SST_DECODE_BARCODES",
                    "DeblurModes": [],
                    "ReturnBarcodeZoneClarity": 0
                }
            ]
        }
    ],
    "TextResultOrderModes": [
        {
            "Mode": "TROM_CONFIDENCE"
        }
    ],
    "BaseBarcodeReaderTaskSettingName": ""
}

Parameters

Parameter Name Type Required/Optional Description
Name String Required The unique identifier for this BarcodeReaderTaskSetting object.
BarcodeFormatIds String Array Optional Specifies which barcode formats to read.
BarcodeFormatSpecificationNameArray String Array Optional Names of referenced BarcodeFormatSpecification objects for format-specific settings.
ExpectedBarcodesCount Integer Optional Expected number of barcodes to detect per image.
MaxThreadsInOneTask Integer Optional Maximum number of parallel threads for this task.
SectionArray Object Array Optional Defines processing sections (region predetection, localization, decoding) and their stages.
DPMCodeReadingModes Object Array Optional Modes and priority for reading Direct Part Mark (DPM) codes.
TextResultOrderModes Object Array Optional Order in which barcode results are returned.
BaseBarcodeReaderTaskSettingName String Optional Name of another BarcodeReaderTaskSetting object to inherit parameters from.

This page is compatible for:

Is this page helpful?

YesYes NoNo