Decode Unreadable Barcodes with Dynamsoft Barcode Reader's Custom Scan Parameters

< Back

Curved QR Code

Issue: When a barcode is wrapped on a cylindrical object such as a pop can, the resulting barcode image is curved. The deformed barcode is very challenging to scan correctly.

Solution: Dynamsoft Barcode Reader SDK provides several image processing methods to combat deformation. These helps to scan curved, crumpled, distorted and other types of challenging barcodes.

JSON Template:

{
  "ImageParameter": {
    "BarcodeFormatIds": [
      "BF_QR_CODE",
      "BF_MICRO_QR"
    ],
    "BarcodeFormatIds_2": [
      "BF2_NULL"
    ],
    "DeformationResistingModes": [
      {
        "Level": 5,
        "LibraryFileName": "",
        "LibraryParameters": "",
        "Mode": "DRM_GENERAL"
      },
      {
        "Level": 5,
        "LibraryFileName": "",
        "LibraryParameters": "",
        "Mode": "DRM_BROAD_WARP"
      },
      {
        "Level": 5,
        "LibraryFileName": "",
        "LibraryParameters": "",
        "Mode": "DRM_DEWRINKLE"
      }
    ],
    "Description": "",
    "Name": "Settings",
    "Timeout": 99999
  },
  "Version": "3.0"
}

×

Binarized image produced by Dynamsoft Barcode Reader:

Template for Dynamsoft Barcode Reader:

JavaScript Code Snippet to Use the Template:

barcodeReader.initRuntimeSettingsWithString(template);
Single
Clean
Curved
Other
QR Code

Download Our Free Barcode Test Sheet

Curious about how our Dynamsoft Barcode Scanner SDK works in real-world applications? Download our free Barcode Test Sheet, a comprehensive PDF packed with different types of barcodes, batched barcodes or even damaged codes ready to be scanned. Explore the real-world examples to see how Dynamsoft can boost your scanning performance and tackle the challenges of difficult-to-read barcodes.

Barcode Test Sheet
barcode-test-sheet-illus.png