zxing如何从文件中解码?
我正在开发一个基于 zxing 库的应用程序,我希望用户能够解码存储在 SD 卡上的照片。
我在 androidTest 示例下找到了一个示例,但是当我尝试使用它时,我发现在第 96 行的类 BenchmarkThread 中,Eclipse 抱怨 HybridBinarizer 未知。
我必须导入什么才能使其正常工作?
还有其他我可以阅读的例子吗?
I am developing an application based on the zxing library and I would like the user to be able to decode a photo that is stored on the sd card.
I have found an example under the androidTest example but when I tried to use it I found that in class BenchmarkThread in line 96 eclipse complained that HybridBinarizer is not known.
what I have to import in order to make it work?
also is there any other example I could read?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
HybridBinarizer 位于该项目的核心/模块中。该代码还需要存在并可用于您的构建才能工作。所提供的 Ant 脚本自然可以为您完成此操作。
HybridBinarizer is in the project's core/ module. That code also needs to be present and available to your build to work. The provided Ant script, naturally, does this for you.