[英]Android barcode detection not working for some barcodes
Using Google Play Services Barcode Detector 使用Google Play服务条形码检测器
Performs really well with most bar codes. 在大多数条形码上的表现都非常好。 However, I notice that it can't detect some barcodes, for instance
但是,我注意到它无法检测到某些条形码,例如
"12345678" is recgonized just fine as a code-128 将“ 12345678”改正为代码128
but "88888888" or "540" is not recognized at all as code-128 但“ 88888888”或“ 540”根本无法识别为代码128
I use this site to generate barcodes: http://barcode.tec-it.com/en 我使用此网站生成条形码: http : //barcode.tec-it.com/cn
Could this be a bug? 这可能是错误吗?
I tired the visionSamples
for barcode-reader
here: 我在这里厌倦了
barcode-reader
的visionSamples
:
https://github.com/googlesamples/android-vision/tree/master/visionSamples/barcode-reader https://github.com/googlesamples/android-vision/tree/master/visionSamples/barcode-reader
The 88888888
in code-128
works, but 540
don't. code-128
的88888888
有效,但540
不起作用。 I think that because 540
it too short for the code-128
. 我认为这是因为
540
对于code-128
来说太短了。
However, I tried the QR code
for 540
it works great. 但是,我尝试了
540
的QR code
,效果很好。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.