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
1
vote
1 answer
Opencv: 2D barcode (Data Matrix) detection
I am working on detect a 2D Barcode on a PCB board. The environment is Visual Studio 2012.
We met some problems and can’t filter out the 2D barcode image successfully.
Loading the figure: Original Image Size is 1600*1200.
After we load the figure…

Evelyn Sung
- 11
- 1
- 1
- 4
1
vote
1 answer
Not able to read 2D data matrix in Image
I have to read the 2D data matrix bar code from an Image. I am using zxing to read the barcode. This is the code i am using.
import java.awt.image.BufferedImage;
import java.io.FileInputStream;
import java.io.IOException;
import…

Subash Suyambuthangam
- 127
- 1
- 2
- 11
1
vote
1 answer
DataMatrix barcode with non-Latin characters
I need to create DataMatrix barcodes which may contain non-Latin characters. I have code which creates the barcodes correctly when they only consist of Latin characters; when I run the same code with non-Latin (Hebrew or Russian) characters,…

David Zalkin
- 47
- 7
1
vote
1 answer
Scala data matrix generator
Is there a convenient data matrix generator library for scala? I've heard of zxing for java, but I just can't find a solid example how to generate a data matrix image (into a ByteArrayOutputStream preferably)

Caballero
- 11,546
- 22
- 103
- 163
1
vote
1 answer
reading datamatrix with xzing lib in java
My test case is very simple: I'm generating a data matrix code and then I want to read it again. Both with xzing vs3.0.0. I'm doing this the same way with qr-code and pdf417 - and it works perfectly.
This is my code:
@Test
public void…

xdoo
- 11
- 3
1
vote
1 answer
Is it possible to represent characters beyond ASCII in DataMatrix 2D barcode? (unicode?)
The DataMatrix article on Wikipedia mentions that it supports only ASCII by default. It also mentions a special mode for Base256 encoding, which should be able to represent arbitrary byte values.
However all the barcode generator libraries that I…

Marek
- 10,307
- 8
- 70
- 106
0
votes
0 answers
Why is Excel saying that my ActiveX object is not on the Worksheet?
I'm trying to use BarcodeTools' data matrix ActiveX object to be able to create a data matrix code on my excel sheet. I want the data to be encoded in the barcode to be through my user messages probing for the data. This is because I'm lookin to…

St3althPatchin
- 3
- 3
0
votes
0 answers
Unable to Scan Data Matrix barcode image bitmap using Firebase Google ML Kit in android Kotlin
I am generating Data Matrix barcode using Zxing library. After generating i am passing generated image bitmap to next Activity after converting it into byte array(cause otherwise i will get an error). On the next activity i am converting it back to…

Saad Malik
- 1
- 2
0
votes
0 answers
My code can read QR but not 2D code (datamatrix)
I am using the code below to decode code from an image.
This works fine with a QR code but not with a 2D datamatrix.
def read_qr_code(filename):
try:
img = cv2.imread(filename)
detect = cv2.QRCodeDetector()
value, points,…

gtomer
- 5,643
- 1
- 10
- 21
0
votes
0 answers
How to read the Data Matrix Code with OpenCV python
I amd trying to read a datamatrix code on the metal surface. The datamatrix code was engraved with laser welding. I tried pylibdmtx with image preprocessing.
Data Matrix Code engraved with Laser on Metal Surface
Here is my code and the result.…

kotai2003
- 1
- 2
0
votes
0 answers
Buildozer Android kivy Libdmtx app- ImportError: Unable to find dmtx shared library
I am trying to build a simple kivy android app that decodes a datamatrix image.
from kivy.app import App
from kivy.uix.boxlayout import BoxLayout
from kivy.uix.image import Image
from kivy.uix.button import Button
import cv2
import…
0
votes
1 answer
DataMatrix barcode support - trigger via VBA rather than formula
I found this excellent bit of code via this question in Patratacus answer; Generating 2D (PDF417 or QR) barcodes using Excel VBA
However the code is very much beyond me and i'm having inconsistent issues when producing a data matrix barcode label…

maxxev
- 1
0
votes
1 answer
How to encode raw bytes?
We have a 2D datamatrix barcode which outputs as 12002052 (CR+LF after the value). When scanning into Chrome the barcode is triggering the downloads menu - which I have read from other posts that this is due to the CR+LF. To troubleshoot, we…

Rick
- 43
- 6
0
votes
0 answers
huawei-mobile-services--inverted Datamatrix
good afternoon. Decided to test your solution Scan Kit - Code Scanning Service - HUAWEI Developer. Works well, but does not scan inverted Datamatrix.enter image description here
0
votes
1 answer
Decode data matrix using pylibdmtx or altenative library
I'm trying to use pylibdmtx to decode data matrix code from image and faced with problem of getting raw data string containing full set of symbols.
I'm using this code:
import cv2
from pylibdmtx import pylibdmtx
if __name__ == '__main__':
image…