Resource Base
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    
delete reader;  
delete settings;  

You could also configure the parameter by loading JSON template.


This page is compatible for:

Version 7.5

Is this page helpful?

YesYes NoNo

latest version

  • Latest Version
  • version 8.1.2
  • version 8.0
  • version 7.6
  • version 7.5
Change +
© 2003–2020 Dynamsoft. All rights reserved.
Privacy Statement / Site Map / Home / Purchase / Support