哪个是最适合我使用的 .NET 图像捕获 API?

发布于 2024-08-25 21:57:09 字数 1539 浏览 10 评论 0原文

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

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

发布评论

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

评论(4

未蓝澄海的烟 2024-09-01 21:57:09

如果您的应用程序使用高端扫描仪,并且您需要编写一个应用程序来最大限度地提高扫描仪的吞吐量并利用这些扫描仪的所有高级功能,那么您将需要看看基于 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

羁〃客ぐ 2024-09-01 21:57:09

如果您将选择限制为开源,那么您就将自己限制在 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).

独自←快乐 2024-09-01 21:57:09

我建议您在大多数情况下使用 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.

北方。的韩爷 2024-09-01 21:57:09

如果您可以使用 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.

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