Dev Center
Table of contents

Thanks for downloading Dynamsoft Barcode Reader Package!

Your download will start shortly. If your download does not begin, click here to retry.

How to configure DeblurLevel

In this part, we will introduce the parameter that specifies the attempt level of sampling decoding - DeblurLevel. There are a variety of approaches in DBR algorithm for sample decoding. The DeblurLevel can be set to a range of 0 to 9. The larger the value, the more preprocessing modes the DBR algorithm can apply for decoding, the more likely it is to extract the barcode value, and the slower it will be if the decoding fails. Users could adjust the value based on their actual situation.

You could configure the DeblurLevel in RuntimeSetting:

CBarcodeReader * reader = new CBarcodeReader();  
reader->InitLicense("Input your License");  
char error[512];  
PublicRuntimeSettings *settings = new PublicRuntimeSettings();     
read->GetRuntimeSettings(settings);  //Load current RuntimeSettings
settings->deblurLevel = 9;                 //Configure deblurLevel   
reader->UpdateRunTimeSettings(settings);   //Update RuntimeSettings  
ret = reader->DecodeFile("Input file path","");   //Decoding 
TextResultArray *pResults = NULL;                  
Reader->GetAllTextResults(&pResults);       //Get result    
dynamsoft::dbr::CBarcodeReader::FreeTextResults(&pResults);  
delete reader;  
delete settings;  

You could also configure the parameter by loading JSON template.

{  
    "Version":"3.0",  
    "ImageParameter":  
    {  
        "Name":"IP1",  
        "BarcodeFormatIds":["BF_ALL"],  
        "DeblurLevel":9  
    }  
} 

This page is compatible for:

Version 7.5.0

Is this page helpful?

YesYes NoNo

latest version

  • Latest version
  • Version 10.x
    • Version 10.2.0
    • Version 10.0.21
    • Version 10.0.20
    • Version 10.0.10
    • Version 10.0.0
  • Version 9.x
    • Version 9.6.42
    • Version 9.6.40
    • Version 9.6.33
    • Version 9.6.32
    • Version 9.6.31
    • Version 9.6.30
    • Version 9.6.20
    • Version 9.6.10
    • Version 9.6.0
    • Version 9.4.0
    • Version 9.2.0
    • Version 9.0.0
  • Version 8.x
    • Version 8.8.0
    • Version 8.6.0
    • Version 8.4.0
    • 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 +