Improving Data Matrix mobile recognition via fast Hough transform and adaptive grid extractors
Authors:
- 1 December 2025
- journal article
- Published by Samara National Research University in Computer Optics
- p. 1182
Abstract
The Data Matrix is a barcode symbology originally designed for industrial needs. Today, its symbols are increasingly found on everyday products such as pharmaceutical packaging, electronic components, food labels, and clothing tags. This widespread usage presents a challenge: reading Data Matrix symbols from images captured by mobile cameras in uncontrolled environments. The reading process mainly consists of three steps, namely barcode localization, segmentation and decoding. In this work, we focus on the precise localization and segmentation of Data Matrix barcodes. We introduce a new method that involves the localization of the finder pattern using fast Hough transform and subsequent iterative segmentation to extract the encoded message. Our approach demonstrates superior localization quality, as measured by the mean Intersection over Union metric (0.889), and achieves better recognition accuracy (0.903) compared to open–source solutions for reading Data Matrix barcodes, such as libdmtx (0.665), ZXing (0.569), and ZXing–cpp (0.858). Our method requires only 35 milliseconds for computations on an ARM device, enabling real–time processing. It is significantly faster than libdmtx (10 seconds), ZXing (610 milliseconds), although it is slightly slower than ZXing–cpp (6.65 milliseconds).Keywords
This publication has 20 references indexed in Scilit:
- Generation of semisynthetic natural-looking 2D barcodes for localization problems2025
- High-Performance Digital Image ProcessingPattern Recognition and Image Analysis, 2023
- A Real-Time Algorithm for Multiple Data Matrix Codes Localization2021
- New Benchmarks for Barcode Detection Using Both Synthetic and Real Data2020
- The analyse of the various methods for location of Data Matrix codes in images2018
- Efficient visual code localization with neural networksPattern Analysis and Applications, 2017
- Fast detection and recognition of QR codes in high-resolution images2012
- Extraction of 2D Barcode Using Keypoint Selection and Line DetectionLecture Notes in Computer Science, 2009
- Multiple View Geometry in Computer Vision2004
- A common image processing framework for 2D barcode reading1999