从Java获取图像采集硬件

如何从 Windows中的硬件扫描仪实现图像采集?我找到了 JTwain库,但它是商业的.有免费的框架吗?关于这个的任何信息?

解决方法

这是一个 article讨论如何使用TWAIN实现自己的API(令人困惑的也称为JTwain).

来自文章

Java’s lack of a standard
image-acquisition API is an oversight
that hopefully will be rectified in a
future release. Until that time,
however,we can either purchase a
commercial API or create our own API.

We can base our API on either of the TWAIN or SANE specifications. So far,we’ve only looked at TWAIN,in terms of the big picture and important details. We have also explored the very simple TWAIN-based JTwain API and played with a simple JTwainDemo application that demonstrates JTwain.

相关文章

最近看了一下学习资料,感觉进制转换其实还是挺有意思的,尤...
/*HashSet 基本操作 * --set:元素是无序的,存入和取出顺序不...
/*list 基本操作 * * List a=new List(); * 增 * a.add(inde...
/* * 内部类 * */ 1 class OutClass{ 2 //定义外部类的成员变...
集合的操作Iterator、Collection、Set和HashSet关系Iterator...
接口中常量的修饰关键字:public,static,final(常量)函数...