从数字获取条形码类型
我想知道号码的条码类型示例 EAN13,ITF14,CODE128,etc,
我有一个条码号码 890115700428
上面条码号码的类型是 EAN13
。
我想通过在 android
和 iphone
中逻辑地了解条形码编号的条形码类型,也无需使用扫描。
我的应用程序就像这样,如果我输入条形码编号,然后它将显示条形码编号的类型。
在 android
和 iphone
中可能吗?如果是的话怎么办?
预先感谢
问候
I want to know bar code type of number example EAN13,ITF14,CODE128,etc.,
I have a bar code number 890115700428
the type of above bar code number is EAN13
.
I want to know bar code type of bar code number by logically in android
and iphone
also with out using scanning.
My app like this if i entered bar code number and then it will show the type of bar ode number.
Is it possible in android
and iphone
. If yes how?
Thanks in advance
Regards
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一般来说,你无法弄清楚这一点。可以减少可能性,并且在少数情况下可以弄清楚。
另一个问题是,许多打印的条形码号码只是部分的,即随条形码提供的号码缺少某些部分。有些公司只打印足够的条形码供自己内部使用。 Codabar 也很少打印前导和尾随字母。
以 12 位条形码 (123456789012) 为例,至少有 9 种常见可能性:UPC-A、Code39、Code128、EAN-13、UPC-E、Codabar(16 种变体)Code128-A、Code128-B、Code123-C 。
In general you can't figure this out. It is possible to reduce the possibilities and in a few cases to figure it out.
A further problem is that many printed barcode numbers are only partial, that is the number provided with a barcode is missing some parts. Some companies just print enough of the barcode for their own internal use. Also Codabar rarely prints the leading and trailing letters.
As an example for a 12 digit barcode (123456789012) there are at least 9 common possibilities: UPC-A, Code39, Code128, EAN-13, UPC-E, Codabar(16 variants) Code128-A, Code128-B Code123-C.