Web Demos

BARCODE READER SDK DEMO

Explore the flexibe barcode reading settings to optimize for your specific usage scenario.

WEB TWAIN SDK DEMO

Try the most popular web scanner features: scan images, import local images and PDF files, edit, save to local, upload to database, and etc.

BARCODE READER JAVASCRIPT DEMO

Transform any camera-equipped devices into real-time, browser-based barcode and QR code scanners.

MRZ SCANNER WEB DEMO

Detects the machine-readable zone of a passport, scans the text, and parses into human-readable data.

APP STORE DEMOS

BARCODE READER SDK FOR IOS

BARCODE READER SDK FOR ANDROID

VIEW MORE DEMOS >
< Back

Damaged QR Code

Issue: Often you might find that a barcode is damaged, for example, scratched, marked up, or incomplete with missing corners, etc.

Solution: We can try different localization methods to identify the location of the barcode that is severely damaged and then use our proprietary algorithm to complete the QR Code to improve the decoding rate.

JSON Template:

{
   "ImageParameter" : {
      "BarcodeFormatIds": [
         "BF_QR_CODE",
         "BF_MICRO_QR"
       ],
      "LocalizationModes" : [
         {
            "LibraryFileName" : "",
            "LibraryParameters" : "",
            "Mode" : "LM_CONNECTED_BLOCKS"
         },
         {
            "LibraryFileName" : "",
            "LibraryParameters" : "",
            "Mode" : "LM_SCAN_DIRECTLY",
            "ScanDirection" : 0,
            "ScanStride" : 0
         },
         {
            "LibraryFileName" : "",
            "LibraryParameters" : "",
            "Mode" : "LM_STATISTICS"
         },
         {
            "LibraryFileName" : "",
            "LibraryParameters" : "",
            "Mode" : "LM_LINES"
         }
      ],
      "ImagePreprocessingModes": [
        {
          "LibraryFileName": "",
          "LibraryParameters": "",
          "Mode": "IPM_GENERAL"
        },
        {
          "LibraryFileName": "",
          "LibraryParameters": "",
          "Mode": "IPM_GRAY_EQUALIZE",
          "Sensitivity": 5
        },
        {
          "LibraryFileName": "",
          "LibraryParameters": "",
          "Mode": "IPM_GRAY_SMOOTH",
          "SmoothBlockSizeX": 3,
          "SmoothBlockSizeY": 3
        }
      ],
      "BarcodeComplementModes": [
        {
          "Mode": "BCM_AUTO"
        }
      ],
      "Name": "Settings",
      "Timeout" : 100000
   },
   "Version" : "3.0"
}

×

Binarized image produced by Dynamsoft Barcode Reader:

Template for Dynamsoft Barcode Reader:

JavaScript Code Snippet:

barcodeReader.initRuntimeSettingsWithString(template);
Single
Clean
Incomplete (missing a corner or a side)
Other
QR Code