Data Matrix is a 2D barcode symbol designed to pack a lot of information in a very small physical space, including Reed-Solomon error correction in version ECC 200.
Questions tagged [datamatrix]
131 questions
2
votes
1 answer
ZXing 3.2 Java: How to set cells number of a data matrix?
I use ZXing 3.2 java lib and I need to generate a rectangular data matrix 16 * 48 cells (16 cells for height and 48 cells for width).
I found no way for do this. Does anyone know how to do this?
Snippet example:
Hashtable…

Muralex
- 21
- 2
1
vote
1 answer
Generate GS1 DataMatrix code in python using any suitable library/module. Include FNC1 leading symbol
A task is to generate GS1 DataMatrix code (later in text - GS1 DM) in python using any suitable library/module. The issue is how to include leading FNC1 functional symbol when generating a DM code.
GS1 DM is being used widely in serialization and…

Pavel Legkodymov
- 11
- 2
1
vote
1 answer
Is there a publicly available list of known good GS1-128 codes for testing?
I just finished writing a function to interpret GS1-128 codes (the data, not the barcode/datamatrix image) in (hopefully) any constellation they can come in.
I am now trying to thoroughly test the function.
All manually generated codes I have tried…

Firestorm2k7
- 39
- 6
1
vote
0 answers
What can I do to improve detection of a Datamatrix code with pyzbar/zbar
I am trying to detect a barcode with pyzbar.
If get the following image up on my computer screen and scan it with my mobile phone camera then it is instantly able to provide me with the qr code information.
However, if I use Pyzbar to analyse the…

knowledge_seeker
- 811
- 1
- 8
- 18
1
vote
0 answers
Adding non-printing characters to barcode using Treepoem and BWIPP (Python)
I am using barcodes to automate data entry, so I'd like to add non-printing characters to the barcode. The parse option should be able to do it, but as there's minimal error generation between the Treepoem frontend and BWIPP, it's been challenging…

Jeremy
- 11
- 2
1
vote
1 answer
How to manually build DataMatrix 2D barcodes?
So, I’m trying to make DataMatrix barcodes in excel and I’m having trouble. This is supposed to read as [FNC1] 010003592671025417220331100155BAG
But it doesn’t. Comparing it to the barcode here:…

Dave PharmD
- 31
- 2
1
vote
0 answers
Error decoding Data Matrix that is base256 encoded with pylibdmtx
I'm trying to successfully decode Data Matrix barcodes that are base256 encoded using pylibdmtx. When the barcode contains a 0x00 byte the library seems to treat it as a string terminator (null) and ignores the rest of the data in the barcode.
Here…

Rick
- 11
- 1
1
vote
0 answers
how to decode a reconstructed data matrix?
does any of you guys know how i can decode a "neatly reconstructed square shaped data matrix"?
and here is what I mean by neatly reconstructed:
assume that I have an image which contains a 26x26 data matrix(or 28x28 or whatever) . I have extracted…

Hesaam
- 13
- 2
1
vote
1 answer
Selecting the Data Matrix from a Image and Decoding it
I have the image as attached. I tried using the below code and it outputs the correct values for most of the images. But however it takes a long time to decode.
import cv2
from pylibdmtx.pylibdmtx import decode
import ctypes
from PIL import…

Legolas
- 29
- 6
1
vote
1 answer
Extracting rows from data frame based on another data frame
I'm trying to extract a set of genes (row names) from my large data set based on another data matrix that contains a list of my genes of interest. I've read about that I should use the filter and %in% command, but am unsure as to how to write it…

Maria Faleeva
- 57
- 9
1
vote
0 answers
How to read small Data Matrix codes (16 x 16) using Python and opencv?
I can't decode the 2D data matrix using the pylibdmtx library. It is a small image (16 x 16). The result is always [ ]. Does the size of the data matrix influence decoding in this library?. Can anybody help me ?
from pylibdmtx.pylibdmtx import…

Alex Palma
- 21
- 4
1
vote
2 answers
Using perl to calculate mean or median value of a column in a matrix
Var_ID sample1 sample2 sample3 sample4 sample5 sample6 sample7
A_1 18.66530716 0 10.45969216 52.71893547 40.04726048 32.16758825 38.27754435
A_2 25.19816467 0 12.5516306 37.95763354 28.39714834…

Xiangnan
- 21
- 2
1
vote
3 answers
Datamatrix with raspberry
I am trying to read datamatrix code by rasp using python.
I'm using pylibdmtx to read the code, but it only works on my notebook. When I put the same code on the raspberry it can't read the code. At the moment my raspberry is reading only qrcode and…

Fillipi Nascimento
- 11
- 4
1
vote
0 answers
Forcing b-PAC to generate DataMatrix barcodes of a specific symbol size
I am using Brother's b-PAC3.2 SDK in C# to generate and print DataMatrix barcodes using a Brother label printer. My application uses a template created using their P-touch Editor that just has the barcode and a label.
The problem I am having is that…

JCCorriveau
- 11
- 2
1
vote
0 answers
Python - How to detect and decode multiple Datamatrix from an image
I have been trying to detect barcodes, QR codes and Datamatrix from a label.
The pyzbar library detects barcodes and QR codes but fails to detect datamatrix.
Then I tried pylibdmtx library which decodes only one datamatrix from an image (which has…

shradha
- 11
- 1
- 4