符号条形码 pdf417 EMDK

发布于 2024-10-07 16:41:51 字数 362 浏览 0 评论 0原文

我正在使用 Symbol 的 EMDK v2.4 开发一个应用程序。我正在尝试使用 MC75 上的相机成像器读取 PDF417 条形码。它返回 234 个字符的 readerData.Length,但只能通过 readerData.Text 属性读取前 20 个字符。当我使用 dataWedge 时,PDF417 被解码并正确显示。在dataWedge中,使用注释查看结果,解码整个条码需要3-4秒。当我在测试应用程序中查看 read_notify 事件时,它会在扫描完成后不到 1 秒的时间内被调用。我想这就是为什么条形码文本只有前 20 个字符?有谁对如何设置设备有任何见解,或者将设备设置为在解码完成之前不调用 read_notify,或者提供有关如何获取所有解码文本的建议。

谢谢你!

I'm developing an application using the EMDK v2.4 from Symbol. I'm trying to read a PDF417 barcode using the camera imager on the MC75. It is returning a readerData.Length of 234 characters but only the first 20 are readable via the readerData.Text property. When I use dataWedge, the PDF417 is decoded and shown properly. In dataWedge, using notes to view the result, it takes 3-4 seconds to decode the entire barcode. When I view the read_notify event in my test app, it is getting called in less than 1 second from when the scan completes. I assume this is why the barcode text is only the first 20 characters? Does anyone have any insight on how I can set the either set the device to not call read_notify until the decoding has completed, or offer advice on how I can get all of the decoded text.

Thank you!

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

丘比特射中我 2024-10-14 16:41:51

基本上,您必须启用应用程序需要读取的条形码类型。例如代码 128、EAN-8、EAN-13。除此之外,您还必须指出预期条形码长度的最小和最大尺寸。例如,最小值 = 8 个字符,最大值 = 12,因此扫描仪将尝试在该范围内进行解码。
现在,启用的条形码类型越多,解码时测试的解码组合就越多。因此,请考虑仅启用您需要的类型,这将加快解码过程。
还要尝试尽可能限制条形码的范围。因此,如果您知道对于代码 x,可能的条形码只能包含 10 到 12 个字符,然后在扫描仪配置上设置此限制。而不是从 6 到 13。

顺便说一下,当前 .NET 的 EMDK 是 v2.7

Basically you have to enable the Type of barcodes your app needs to read. For instance Code 128, EAN-8, EAN-13. In addition to this you have to indicate the min and max size of the expected barcode lenght. e.g. min= 8 characters and max= 12 therefore the scanner will try to decode within that range.
Now, the more barcode types you enable, the more combination of decodes are tested while decoding. So consider enabling only the types you need, this will speed up the decoding process.
Also try to limit as much as you can the range of the barcode. so if you know that for code x the possible barcodes only can have from 10 to 12 characters, then set this limitation on the scanner configuration. instead of having it from 6 to 13.

By the way, the current EMDK for .NET is v2.7

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文