USB条码扫描仪研究

发布于 2024-10-07 14:22:55 字数 287 浏览 0 评论 0原文

我正在对一个(大型)图书编目项目进行一些可行性研究。如果有好的信息来源,我将不胜感激,但我特别想知道的是:

1.)python 是否有任何与条形码阅读器(最好是 USB)一起使用的模块?还有哪些其他程序可用于读取条形码信息?

2.)通过一些信息来源可能可以更好地回答这个问题,但是我应该在条形码扫描仪中寻找什么样的东西,特别是当我想要扫描书籍上的大量条形码时。

3.)这也可以通过一些信息来源来更好地回答,书籍的条形码中标准存储了什么样的信息。

我知道这相对偏离主题,但任何帮助将不胜感激。

I'm doing some feasibility research with regards to a (large) book cataloging project. Any help would w/r/t good sources of information would be appreciated but the things I would specifically like to know are:

1.)does python have any modules for use with barcode readers (preferably USB)? What other programs are available for reading barcode information?

2.)This may be better answered with a few sources of information, but what kinds of things should I look for in a barcode scanner, especially if I'm looking to scan, specifically, a lot of barcodes on books.

3.)This may also be better answered with a few sources of information, what kind of information is stored standard in a book's barcode.

I know this is relatively off-topic, but any help would be greatly appreciated.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

就是爱搞怪 2024-10-14 14:22:55
  1. 您不需要任何东西 - 大多数 USB 条形码扫描仪模拟键盘 - 如果您扫描条形码,它只需发送一系列代表条形码中编码的数字(或文本,如果它是更高级的条形码编码)的按键。大多数扫描仪都具有很好的可配置性,因此您可以将其配置为在条形码数据之前发送特殊字符,然后监听按键,如果它与该特殊字符匹配,则将重点放在您想要条形码数据的输入字段上。
  2. 这在很大程度上取决于您想要做什么、正在做的家具等。我参与了相当大的通用扫描仪的推广(碰巧是 这些 ) - 它对于我们正在做的事情来说工作得很好,并且没有任何驱动程序需要安装或任何东西......唯一需要做的就是将它附带的支架用螺栓固定在电脑旁边的桌子上 - 并且那不是我们关心的!
  3. 典型的图书条形码对图书的 ISBN 进行编码。
  1. You don't need any - most USB barcode scanners emulate a keyboard - if you scan a barcode it simply sends a series of key presses representing the numbers (or text if it's a more advanced barcode encoding) encoded in the barcode. Most scanners are pretty configurable so you could configure it to send a special character before the barcode data, then listen for key presses and if it matches that special character, then focus on the input field where you want the barcode data.
  2. It depends a lot on what you're trying to do, the furniture where it's being done, etc. I was involved in a reasonably large rollout of general purpose scanners (happened to be these) - it worked fine for what we were doing and there weren't any drivers to install or anything...the only thing that needed to be done was the stand that came with it was bolted to the desk next to the PC - and that wasn't our concern!
  3. A typical book barcode encodes the book's ISBN.
残疾 2024-10-14 14:22:55

您正在制作 python Web 应用程序还是客户端应用程序?除非您正在寻找专门的条形码扫描功能,否则这并不重要,因为扫描仪的输入看起来像键盘输入(有时以特殊输入字符为前缀),因此您只需要有一种监听键盘的方法即可输入并捕获该特殊字符。

Are you making a python web-app or a client application? Unless you're looking for specialized bar code scanning functionality it doesn't really matter since the input from the scanner appears like keyboard entry (sometimes prefixed with a special input character), so you just have to have a way of listening to the keyboard input and catching that special character.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文