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

< Back

Code39 with Zero Margin

Issue:

Vehicle Identification Number (VIN) is sometimes accompanied with a code 39 barcode underneath. The placement is usually very tight and close to the series of digits resulting in a barcode with zero upper and lower margin. Many barcode scanners fail to read such barcodes.

Solution:

Dynamsoft offers many barcode localization methods catering to different usage scenarios. The Lines localization method localizes barcodes by searching for groups of lines. This is optimized for 1D and PDF417 barcodes which is suitable for identifying barcodes with little margin.

JSON Template:

{
  "ImageParameter": {
    "LocalizationModes": [
      {
        "LibraryFileName": "",
        "LibraryParameters": "",
        "Mode": "LM_LINES"
      }
    ],
    "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);

Image Source:

https://universe.roboflow.com/kirill-sergeev/vin-detection/

Single
With text
Good quality
Minimum quite zone
OneD

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