简体   繁体   English

Libdmtx lib无法解码2D条码

[英]Libdmtx lib fails to decode 2D barcode

I am currently using libdmtx library to decode 2D Datamatrix barcodes from an image. 我目前正在使用libdmtx库来解码图像中的2D Datamatrix条形码。 The library fails to decode 2D Barcode when curve shaped light reflection touches the barcode. 当曲线形状的光反射触摸条形码时,库无法解码2D条形码。 So far from my research I am guessing every time reflection touches/distorts the 'L shaped finder pattern' ie solid L shaped borders (2 edges of the square barcode, refer to Datamatrix Wiki) (Sorry i am not allowed to post an image since i am new user) lib fails to identify-decode the barcode. 到目前为止,我的研究还很遥远,我想每次反射都会使“ L形寻像器图案”触碰/扭曲,即实心的L形边框(方形条形码的2个边缘,请参阅Datamatrix Wiki)(对不起,我不允许发布图像,因为我是新用户)lib无法识别条形码。 Has anybody really faced such problems? 有人真的遇到过这样的问题吗? Any ideas on if i can still decode the barcode if finder pattern part of the code fails? 如果代码的查找器模式部分失败,我是否仍然可以解码条形码,您有什么想法吗?

I have tried bunch of other libraries and they all fail in my Scenario. 我尝试了许多其他库,但在我的方案中它们都失败了。 Libdmtx has been best open source lib so far. 到目前为止,Libdmtx一直是最好的开源库。

Can you send a sample image that shows this behavior to mike at dragonfly logic dot com? 您可以将显示此行为的示例图像发送给蜻蜓逻辑点com上的Mike吗?

Image distortion can indeed be tricky to scan, but the difference between easy and hard distortions can be subtle so viewing a sample image is a good first step. 图像失真确实很难扫描,但是容易失真和坚硬失真之间的差异可能很小,因此查看样本图像是不错的第一步。 Too bad SO doesn't allow you to upload so others could benefit from the exchange. 糟糕的SO不允许您上传,因此其他人可以从交换中受益。 :( :(

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM