datamatrix

Unable to read white on black Data Matrix barcode

五迷三道 提交于 2020-01-13 02:46:07
问题 Data Matrix barcode support was added to iOS 8 and I'm able to use it to read Data Matrix barcodes if they are black on white (dark on light). However, it never reads a white on black (light on dark) barcode. Reads this fine: Unable to read this: Per Data Matrix ECC 200, light on dark should be supported. Anyone have an idea how to get iOS 8 to read a light on dark Data Matrix barcode? 回答1: You can invert the colors of your AVCaptureSession in real time, allowing you to read the Data Matrix

Present a DataMatrix in iOS

强颜欢笑 提交于 2020-01-06 07:12:47
问题 I want to present a DataMatrix from a given String in an iOS App (NOT a barcode), but can not found any working SDK, guide or even hint to a solution. The only thing I found was a way to READ it, but it looks like the AVFoundation can't be used to SHOW it. Would be very thankful for every hint to this topic. More infos about DataMatrices: https://en.wikipedia.org/wiki/Data_Matrix 来源: https://stackoverflow.com/questions/51311257/present-a-datamatrix-in-ios

What is the relationship between GS1 standard barcodes and generic barcode symbols?

╄→尐↘猪︶ㄣ 提交于 2020-01-04 07:35:14
问题 We are implementing GS1 linear barcodes (Code 128, Code 39) and GS1 2D barcodes (Data Matrix, PDF41 [sic]) and also GS1 DataBar barcodes in our application. Since I am new to this, I have few questions regarding GS1-type barcodes. What is the relation between GS1 standard barcodes and generic barcode symbols? Can any text be made into GS1-type barcode (e.g. GS1 DataMatrix) or does the text have to follow a certain mandatory format? Thanks in advance. 回答1: A quick nit: There is no such format

GS1 barcode parsing

懵懂的女人 提交于 2020-01-02 03:47:06
问题 We need to parse the GS1 datamatrix barcode which will be provided by other party. We know they are going to use GTIN(01), lot number(10), Expiration date(17), serial number (21). The problems is that barcode reader output a string, the format is like this 01076123456789001710050310AC3453G321455777. Since there is not separator and both serial number and lot number are variable length according to GS1 standard, we have trouble to identify segments. My understanding is that it seems like the

DataMatrix-encoding with zxing only generates 14px bitmap

冷暖自知 提交于 2019-12-22 04:41:03
问题 I'm using zxing to generate barcodes with different types (EAN, 2of5 and DataMatrix). Generating in general works fine. The only problem I currently have is that zxing only generates a 14x14 pixel bitmap which is way too small. But only when using DataMatrix! EAN13, 2of5/ITF and QR-Codes work perfect with the same code. My code: BitMatrix bitMatrix = new DataMatrixWriter().encode(message, BarcodeFormat.DATA_MATRIX, 1080, 1080, null); int height = bitMatrix.getHeight(); //height is always 14,

Not able to read 2D data matrix in Image

我是研究僧i 提交于 2019-12-13 19:23:00
问题 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 java.io.InputStream; import javax.imageio.ImageIO; import com.google.zxing.BinaryBitmap; import com.google.zxing.ChecksumException; import com.google.zxing.FormatException; import com.google.zxing.LuminanceSource; import com.google.zxing.MultiFormatReader; import com

Add a FNC1 character to code created with tcpdf datamatrix

走远了吗. 提交于 2019-12-11 03:26:09
问题 I am using tcpdf to generate datamatrix barcodes. Works really nice. Now I was asked if we could add fnc1 characters to our code. But I have no clue what the representation of the fnc1 character would be correct for the tcpdf generator. I came across this here http://sourceforge.net/p/tcpdf/discussion/435311/thread/161b1b1a But I would like to understand where the answer of using chr(241) actually comes from. To me it seems like it fell from the sky. Documentation doesn't say anything about

金属圆点Data Matrix 二维码扫描实现

只愿长相守 提交于 2019-12-10 07:44:16
本人前段时间接触了接到一个二维码扫描项目,需要扫描奶粉罐底的圆点DataMatrix二维码,面积小,蓝色背景,用普通的二维码扫描工具根本无法识别,这时需要对图片进行一些处理,一开始想到的办法是把圆点变成方点,但是实现起来效果不行(算法不给力),几夜奋战后,终于实现,原理其实就是要对图片进行二值化处理。 需要源码的可以在这里下载:http://pan.baidu.com/s/1eQuwxWI 来源: oschina 链接: https://my.oschina.net/u/162091/blog/150038

Generating GS1 DataMatrix using ZXing.Net

那年仲夏 提交于 2019-12-06 14:37:54
问题 What I need Is to generate a working GS1 DataMatrix, using this test content: (240)1234567890(10)AA12345(11)123456(21)1(96)1234567 Steps I've downloaded the nuget package from here: and I've created a console app that uses this code: private static void DoGs1DataMatrixStuff() { var writer = new BarcodeWriter { Format = BarcodeFormat.DATA_MATRIX }; writer .Write("(240)1234567890(10)AA12345(11)123456(21)1(96)1234567") .Save(@"C:\Temp\barcode.png"); } There's no obvious specific GS1_DataMatrix

How to locate and read Data Matrix code with python

老子叫甜甜 提交于 2019-12-06 04:03:06
问题 I'm trying to read a datamatrix barcodes on the bottom of microtubes. I tried libdmtx which has python bindings and works reasonably well when the dots of the matrix are square but much worse when they are round as here: Another complication is a shine which in some cases reaches the code area. The barcodes are scanned in a rack on a flatbed scanner so they have constant size and are roughly centered. The orientation is random. I came to a conclusion I'd have to locate the codes and improve