How to read this barcode?

蹲街弑〆低调 提交于 2019-12-23 02:13:36

问题


How to find out which type of barcode is this in my sample ? I looked on wikipedia and there are quite many types of barcodes, most common should be Code 39 and Code 128.

Is there any lib for barcode OCR (python, java, C#, delphi) ?

On this barcode should be encoded time and date of expiration.


EDIT

I need to know how to read and decode above barcode. This barcodes were generated in legacy system and It would be nice if my app could OCR and understand them

On my barcode should be date 19.11.2010 15:43


回答1:


According to this online bar code reader, it an EAN_13 code for a product with the number 5252235562500.

According to Wikipedia it's a product number for a discount coupon with manufacturer code 25223, family code 556 and coupon code 25.

If there is an expiration date encoded in the data, it's in some custom format encoded into the family code and coupon code. Otherwise you need a loopup table from the manufacturer to determine which coupon has which expiration date.




回答2:


How about, http://code.google.com/p/zxing/.




回答3:


There's an excellent barcode reading library named Zebra crossing (zxing) available in Java with ports/wrappers to C#, C++, Ruby, etc.

This particular one is indeed EAN-13 code, which encodes 13 decimal digits [0-9] (2..3 country digits + 9..10 product digits + 1 checksum digit).




回答4:


The Wikipedia article referenced above seems to only refers to "coupon codes" only for UPC12 barcodes which are slightly different from EAN13 barcodes.

According to the offical GS1 site http://gepir.gs1.org/v31/xx/gtin.aspx?Lang=en-US this barcode is not defined as belonging to anyone (or country) so it is probably used internally by some organization for a custom application.

The GS1 site lot of information on barcode standards and formats.



来源:https://stackoverflow.com/questions/4240853/how-to-read-this-barcode

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!