ZXing不读书巴西律师code法案(交错的5 2)正确。我该如何解决? [英] ZXing not reading Brazilian Barcode bills (interleaved 2 of 5) correctly. How can I fix it?

查看:261
本文介绍了ZXing不读书巴西律师code法案(交错的5 2)正确。我该如何解决?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用XZing 2.3.0阅读ITF酒吧codeS,但ZXing不与47位正确读取巴西票据。

I am using XZing 2.3.0 for reading ITF barcodes, but ZXing doesn't read correctly Brazilian Bills with 47 digits.

下面的示例吧code图像(可以在这里)是被读作 033915959002000008009557735480001438148929501028 而不是 03399557345480001431548929501020159590000000800

The following sample barcode image (available here) is been read as 033915959002000008009557735480001438148929501028 instead of 03399557345480001431548929501020159590000000800.

(印刷)的样本PDF适用这里 。酒吧code序列号是在账单(数字的长序列由点及空间separeted)的顶端。

A sample PDF (for printing) is available here. The barcode sequence number is on the top of the bill (a long sequence of numbers separeted by point and space).

我已经尝试了以下code(但没有成功):

I already tried the following code (but with no success):

意向意图=新意图(com.google.zxing.client.android.SCAN);
intent.putExtra(SCAN_FORMATS \"AZTEC,CODABAR,$c$c_39,$c$c_93,$c$c_128,DATA_MATRIX,EAN_8,EAN_13,ITF,MAXI$c$c,PDF_417,QR_$c$c,RSS_14,RSS_EXPANDED,UPC_A,UPC_E,UPC_EAN_EXTENSION\");
intent.putExtra(SCAN_MODE,Intents.Scan.ONE_D_MODE);
intent.putExtra(ALLOWED_LENGTHS,新的INT [] {48,44,47,24,20,18,16,14,12,10,8,6});

我怎样才能让ZXing正确读取那个酒吧code?

How can I make ZXing read that barcode correctly?

感谢您的帮助家伙,让我知道,如果我能澄清任何东西。

Thanks for your help guys, and let me know if I can clarify anything else.

推荐答案

作为@迈克尔说,你是不是真正确保了吧code说,你认为它。

As @Michael says, you aren't actually sure the barcode says what you think it does.

酒吧code不说03391595900000008009557354800014314892950102

The barcode does say 03391595900000008009557354800014314892950102

http://zxing.org/w/de$c$c?u=http%3A%2F%2Fwww.shimatai.com.br%2Fimages%2Fboleto.png

的http://在线吧code-读卡器。 inliteresearch.com/default.aspx
03391595900000008009557354800014314892950102

http://online-barcode-reader.inliteresearch.com/default.aspx 03391595900000008009557354800014314892950102

的http://online-bar$c$c-reader.com/
03391595900000008009557354800014314892950102

http://online-barcode-reader.com/ 03391595900000008009557354800014314892950102

这篇关于ZXing不读书巴西律师code法案(交错的5 2)正确。我该如何解决?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆