java条码阅读器

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/3635301/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-14 02:59:54  来源:igfitidea点击:

java barcode reader

javabarcode

提问by evan

anyone have any idea about how to create java program that can read barcode

任何人都知道如何创建可以读取条形码的 Java 程序

采纳答案by Sean Owen

ZXingprovides Java source code that reads most any common format (UPC, EAN, QR codes, etc.). It provides source to a complete Android and J2ME app, and source for a basic Java-based app.

ZXing提供了可以读取大多数常见格式(UPC、EAN、QR 码等)的 Java 源代码。它提供完整的 Android 和 J2ME 应用程序的源代码,以及基于 Java 的基本应用程序的源代码。

回答by arscariosus

You have to understand how barcode readers work, then you need to sort all the information you have gathered and create neat UML diagrams so that you could organize everything you'll need.

您必须了解条形码阅读器的工作原理,然后您需要对收集到的所有信息进行排序并创建整洁的 UML 图,以便您可以组织您需要的所有内容。

But I think this will need more than Java to work, it needs some computer engineering skills as well.

但我认为这不仅需要 Java 才能工作,还需要一些计算机工程技能。

回答by JoseK

Look at the open source Java libraries to generate barcodes such as Barbecueand Barcode4J

看开源Java库生成Barbecue、Barcode4J等条码

http://barcode4j.sourceforge.netsupports most formats like Code 39, UPC-A, UPC-E, EAN-13 etc

http://barcode4j.sourceforge.net支持大多数格式,如 Code 39、UPC-A、UPC-E、EAN-13 等

回答by Ron Cemer

Have a look at JavaBar Barcode Decoding/Rendering Library. It's written in 100% Java, and released under a BSD license.

看看 JavaBar 条码解码/渲染库。它是用 100% Java 编写的,并在 BSD 许可下发布。