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

< Back

Scan Barcode from Screen

Issue:

When you scan a barcode from a screen on a monitor, a TV or a mobile phone, the image contains roughly parallel dark and light bands superimposed, called the moiré pattern. The interfering pattern makes decoding the barcode very challenging.

Solution:

Dynamsoft Barcode Reader SDK provides an image processing step to remove the moiré texture and would quickly decode the barcode.

JSON Template:

{
  "ImageParameter" : {
    "TextureDetectionModes": [
      {
        "LibraryFileName": "",
        "LibraryParameters": "",
        "Mode": "TDM_GENERAL_WIDTH_CONCENTRATION",
        "Sensitivity": 5
      }
    ],
    "Name": "Settings"
  },
  "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
Rich texture
Good quality
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