问题标签 [datamatrix]
For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.
c# - 带有 UTF-8 字符的 itext DataMatrix 条形码
需要在 itextsharp Data-Matrix 条形码上设置哪些属性才能将 UTF-8 字符传递到内容中?
此 c# 代码创建条形码,但内容无效。我也尝试过其他列出的matrix.Options
。
python - Python 数据矩阵检测
通过使用开源库,pylibdmtx 能够检测图像中的数据矩阵条形码。当条形码只是大图像中的一小部分时,处理速度会变慢。缩小和检测条形码需要很少的参数
这是库中编码的一部分
我的问题是,除了 pylibdmtx 之外还有其他库可以使用吗?或任何提高处理速度而不影响准确性的建议。顺便说一下 pylibdmtx 于 2017 年 1 月 18 日更新,它是一个维护的库
php - Datamatrix 16x48 和 PHP 的 TCPDF 库
我需要在我的 pdf 上打印一个数据矩阵代码。
文档要求的格式是 16x48 数据矩阵 ECC 200。
示例代码是这样的:18800000571920119916120010109364801000000128003896
结果必须是这个:
我正在为 PHP 使用 TCPDF 库,这是我的代码:
在 include/barcodes/datamatrix.php 文件中,我注释了 datamatrix 的所有大小,只留下 16x48(因为如果我全部保留,我会得到标准的 32x32 大小)。
这就是我得到的:
左边部分与正确结果非常相似,但右边部分完全是白色的!!!
我究竟做错了什么?
c# - 使用 ZXing.Net 生成 GS1 DataMatrix
我需要的
就是生成一个可以工作的GS1 DataMatrix,使用这个测试内容:
(240)1234567890(10)AA12345(11)123456(21)1(96)1234567
脚步
我已经从这里下载了 nuget 包:
和
我创建了一个使用此代码的控制台应用程序:
我可以使用没有明显的特定 GS1_DataMatrix 格式...
这给了我
如果通过我的智能手机上的扫描仪应用程序读取,它会给出我最初呈现的文字内容,而不是我期望 GS1 的 FNC1 格式:
(240)1234567890(10)AA12345(11)123456(21)1(96)1234567
虽然它应该是
2401234567890 10AA12345 11123456211 961234567
从另一个来源(不是我可以使用的来源)我得到了这个条形码:
使用我的智能手机应用程序可以读取正确的数据。
问题
如何使用 ZXing.Net 重新创建这个工作的 GS1 数据矩阵?
也见
这个链接,Chris Bahns 提出了我同样的担忧,但他的请求没有得到有效的答案。
ios - 生成 DataMatrix 二维码 (ECC 200)
我需要在 Swift 中创建一个 DataMatrix 代码,我只是在 ZXingObjc 库的帮助下找到了一个解决方案。https://github.com/TheLevelUp/ZXingObjC
有没有其他方法可以做到这一点?我也使用 RSBarcodes_Swift ( https://github.com/yeahdongcn/RSBarcodes_Swift ),它目前不支持 DataMatrix,而且 CIFilter 也无法创建 DataMatrix 图像。
谢谢!鲍里斯
r - 如何在 R 中重构数据框?
我有一个通过一系列插入数值数组的函数生成的数据框。df 由 156 个变量组成,每个变量有 4261 个观测值。我试图找到每列的平均值,但 colMeans() 函数给出以下错误:
我认为它与数据框的结构有关,因此我尝试对其进行更改,但这又产生了另一个错误。
我认为我使用的功能之一是创建数据帧并将其附加到现有的 df,因此数组结构中的“data.frame”。
有没有一种方法可以将数据帧重组为可以运行 colMeans() 和 colSums() 等函数的数据帧?
matlab - 未定义的函数或变量“DataMatrix”
我试图通过调用 DataMatrix() 函数来创建一个 DataMatrix 变量。但该功能不存在。如果我输入这个:
我收到此错误消息:
我确实安装了 Bioinformatics Toolbox,我的版本是 Mac 上的 2016b
有任何想法吗?
javascript - Javascript canvas square detection and orientation
I'm trying to make a DataMatrix reader in javascript that can process an image and extract the information in there. The problem is with detecting the square inside the image with the datamatrix, as this can vary in location and orientation. The input image looks like this:
I want to find and extract only that part (square) of the image that shows the datamatrix, from there on out I have the processing/decoding covered. The desired result for the image above would be:
I need this picture as an ImageData array of some kind, so that I can use that as input for further processing. I am stuck as to how to approach this, how to get the image orientated correctly and the right subsection of the image selected. Is there anyone who has some suggestions/solutions on how to approach this?
Thanks in advance!