的RedLaser和Zxing问题将不会扫描 [英] Redlaser and Zxing issue won't scan

查看:165
本文介绍了的RedLaser和Zxing问题将不会扫描的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我工作的一个手机应用程序和U想用Zxing为我的项目。但是,我知道,很多人都疯狂的RedLaser所以我决定尝试一下。当我去商场我已经注意到,扫描仪甚至不读UPC的商店像永远21的H& M或蒂莉的!这是一个巨大的问题,对我来说,因为这些是在南加州很受欢迎店!我试了一下在热议的话题,但至少它会读吧code和返回零结果,但这些在其他商店都显得微不足道。
如果的RedLaser甚至不能在这些商店看了吧code,那么我会作一个假设,Zxing肯定不会甚至试图要么阅读它。反正是有解决这一问题?我知道有一个问题是,这些商店是不是在谷歌购物阿比数据库,但如果我将它们添加到我的数据传送专线数据库API将他们仍然无法读取?我真的希望有一个孤子。

I am working on a phone app and U would like to use Zxing for my project. However, I know that alot of people are crazy about Redlaser so I had decided to try it out. When I went to the mall I had noticed that the scanner does not even read the UPC for Stores like Forever 21, H&M or Tilly's! This is a huge problem for me because these are very popular stores in Southern California! I tried it at hot topic, but at least there it would read the barcode and return zero results, but at these other stores it was nothing. If Redlaser can not even read the barcode at those stores, then I will make the assumption that Zxing definitely will not even attempt to read it either. Is there anyway to fix this? I know one issue is that those stores are not in the google shopping Api database, but if I added them to my datafeeds database Api would they still be unreadable? I'm really hoping for a soliton.

推荐答案

您是两件事情在这里混了起来:扫描并提供更多的信息。双方的RedLaser和ZXing应该能够扫描所有UPC和EAN条形码codeS和拿出扫描数。当涉及到提供附加信息,既没有的RedLaser SDK(相对于的RedLaser应用)也不斑马线库提供任何附加信息。这是由你来实现。

You're mixing up two things here: scanning and providing additional information. Both RedLaser and ZXing should be able to scan all UPC and EAN barcodes and come up with the scanned number. When it comes to providing additional information, neither the RedLaser SDK (as opposed to the RedLaser app) nor the ZXing library provide any additional information. That's up to you to implement.

如果你甚至无法扫描产品的酒吧code在商店,这也意味着该公司使用与公司私人酒吧code号的非标圆钢code画幅。即使你可以扫描这些酒吧codeS,这是不太可能有任何的服务来获取这些私人号码的附加信息。这也表明,这些产品可能是由唯一的单公司出售。但今天大多数产品有EAN / UPC / GS1酒吧code具有独特的酒吧code号。

If you weren't even able to scan the product's barcode in a store, it could also mean that the company uses a non-standard barcode format with company private barcode numbers. Even if you could scan these barcodes, it's very unlikely that there is any any service to get additional information for these private numbers. It also indicates that these products are probably sold by single company only. But most products today have a EAN/UPC/GS1 barcode with a unique barcode number.

更新:

如果该产品具有UPC / EAN条形码code,可以扫描它,并得到一个(几乎)唯一的产品编号。这是怎样的吧code所有收银台支持。和UPC / EAN / GS1号是产品信息,几乎所有供应商的产品编号的支持。

If the product has a UPC/EAN barcode, you can scan it and get an (almost) unique product number. This is the kind of barcode all cash desk support. And the UPC/EAN/GS1 number is the product number support by almost all providers of product information.

如果这是一个code 39,code 128,ITF酒吧code(或视杆code扫描库几种附加格式),可以扫描它,以及和获得数字或字符串。然而,这是间pretation可能会从开店到不同的充店。

If it's a Code 39, Code 128, ITF barcode (or few additional formats depending on the barcode scanner library), you can scan it as well and get a number or string. However, it's interpretation might differnt from shop to shop.

如果它是另一个酒吧code符号,你甚至不能用了吧code库进行扫描。

If it's yet another barcode symbology, you cannot even scan it with the barcode library.

此外,许多产品有好几个酒吧codeS具有不同的用途:确实有人可能是某种产品的数量,但其他的人可能是一些没有用的,你的,即使你可以去code将其(如电子设备的序列号)。

Furthermore, many products have several barcodes with different purposes: one might indeed be a sort of product number but the other ones might be something that of no use for you even if you could decode it (such as the serial number of an electronic device).

这篇关于的RedLaser和Zxing问题将不会扫描的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆