Issue: The higher the QR code version, the more data modules there are and the more challenging it is to read such dense QR codes.
Solution:
Dynamsoft Barcode Reader uses a special algorithm optimized for reading a dense QR code. Set the appropriate ScaleUpModes, which determines the process for scaling up an image for detecting barcodes with a small module size.
JSON Template:
{
"ImageParameter" : {
"BarcodeFormatIds" : ["BF_QR_CODE"],
"ScaleUpModes":["SUM_LINEAR_INTERPOLATION(0,4,6)"],
"Name" : "Settings",
"ScaleDownThreshold" : 99999,
"Timeout":5000
},
"Version" : "3.0"
}
Binarized image produced by Dynamsoft Barcode Reader:
Template for Dynamsoft Barcode Reader:
JavaScript Code Snippet:
barcodeReader.initRuntimeSettingsWithString(template);