< Back
Tiny Barcode at a Distance

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

Binarized image produced by Dynamsoft Barcode Reader:

JSON Template (help):

Issue: Reading a small barcode within a large image can be challenging, especially when the barcode is slightly blurred, has small modules, or is affected by background interference. This makes it difficult for a barcode reader to accurately scan the code. In the sample image, a 2 mm x 2 mm DataMatrix code is shown where the camera cannot be positioned too close to the barcode.

Solution: The Dynamsoft Barcode Reader SDK offers flexible APIs, enabling developers to build a custom barcode scanner for various usage scenarios such as reading small barcodes at a distance. For this scenario, we recommend the following adjustments:

  • Reduce the blocksize to minimize background interference during binarization and make the modules clearer.
  • Set DeblurModes to null to let the program decide which deblur algorithms to use to enhance clarity for slightly blurred codes.
  • Enable ScaleUpModes to enlarge very small modules for improved readability.

Read this case study to see how Naturalis ARISE, a scientific research consortium, achieved high accuracy and offline capability for reading tiny Data Matrix codes on specimen containers, even through plastic bags, test tubes, and liquids, in remote outdoor locations with the help of Dynamsoft Barcode Reader SDK.

Single
Blur
White barcode on black background
Small barcode on a large image
Data Matrix

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