We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
如果您的应用程序使用高端扫描仪,并且您需要编写一个应用程序来最大限度地提高扫描仪的吞吐量并利用这些扫描仪的所有高级功能,那么您将需要看看基于 ISIS 的 API。我个人曾使用 Captiva/EMC 的 PixTools SDK 为大型企业构建应用程序,并取得了巨大成功体积扫描屋。该工具包使得使用各种图像处理过滤器和软件动态清理扫描图像变得相当容易。我还能够轻松集成条形码和补丁码识别。该工具包价格昂贵——四年前约为 6,000 美元。
但我怀疑您的应用程序不需要高端解决方案。在这种情况下,我认为你应该看看 TWAIN。我自己从未尝试过,但我知道 TWAIN 很难使用。不久前,我在 CodeProject 上发现了一篇文章,其中作者介绍了 TWAIN 的 .NET 包装器:
.NET TWAIN 图像扫描仪
我玩了一下,它似乎可以工作。在这里,我发现了一个线程,其中 Luke Quinane 根据同一篇文章向读者推荐他的 Google Code 项目。链接如下:
Twain Dot Net
If your application is using high end scanners and you need to write an app that will maximize your scanners' throughput and take advantage all the advanced features of these scanners, you'll want to take a look at an ISIS based API. I personally have used Captiva's/EMC's PixTools SDK with great success to build an application for a large volume scanning house. The toolkit made it fairly easy to clean up scanned images on the fly using various image processing filters and software. I was also able to easily integrate barcode and patchcode recognition. The toolkit is pricey - about $6k four years ago.
But I suspect your application doesn't require a high end solution. In this case I think you should look at TWAIN. I've never tried it myself, but I understand TWAIN is difficult to work with. A while ago I found an article on CodeProject where the author presents a .NET wrapper for TWAIN:
.NET TWAIN image scanner
I played with it a bit and it seemed to work. Here on SO I found a thread where Luke Quinane refers reader to his Google Code project based on this same article. Here's the link:
Twain Dot Net
如果您将选择限制为开源,那么您就将自己限制在 SANE 上。我怀疑是否有任何其他开源库在设备支持和兼容性方面与 SANE 接近。尽管如此,必须提到的是,与 TWAIN 和 WIA 等专有 API 相比,SANE 在设备支持方面仍然相当差……
如果开源不是必须 - 那么选择取决于操作系统。 WIA 将是 Windows XP 及更新版本的最佳解决方案,如果您需要支持 Windows 2000 或 9x,TWAIN 可能会更好(我认为 TWAIN 也应该是跨平台的,尽管我没有任何证据证明这一点)现在)。与 WIA 相比,TWAIN API 已经过时了(恕我直言),而且 WIA 对支持批量扫描等功能有更严格的要求(TWAIN 留给设备制造商支持或不支持)。
If you are limiting choice to open source, you are limiting yourself to SANE. I doubt there is any other open source library that is close to SANE in terms of device support and compatibility. That said one must mention that SANE is still quite poor in device support compared to proprietary APIs like TWAIN and WIA...
If open source is not a must have - then the choice depends on the operating system. WIA would be the best solution for Windows XP and newer, TWAIN might be better if you need to support Windows 2000 or 9x (I think TWAIN is also supposed to be cross-platform, even though I don't have any evidence to that right now). Compared to WIA, TWAIN API is horribly outdated though (IMHO), and WIA has stricter requirements on supporting things like batch scanning (which TWAIN leaves to the device manufacturer to support or not).
我建议您在大多数情况下使用 TWAIN 驱动程序,因为它提供了与扫描仪的最大兼容性,并且还可以根据扫描仪型号自由地自定义扫描。如果您正在构建一个简单的扫描应用程序,WIA 可能也适合。对于 ISIS,除非您有特定要求,否则最好先检查其他选项。 SANE 提供跨网络扫描和没有 Windows 系统的系统的最佳支持。
I would suggest you to go with TWAIN drivers in most cases, as it provides the maximum compatibility with scanners and also the freedom to customize the scanning based on the scanner model. If you are building a simple scanning application, WIA might be suitable as well. For ISIS, unless you have a specific requirement, you’d better check other options first. SANE provides optimal support across network scanning and on systems were there is no Windows system.
如果您可以使用 Sane 的设备支持,请务必使用它,因为它更简单、免费(开放)、灵活。 Oðers 总是会施加任意限制。
If you can live wiþ Sane’s device ſupport, by all means go wiþ it, as it is ſaner, free (open), flexible. Oðers will always impoſe arbitrary limitations.