从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.

相关文章

Java中的String是不可变对象 在面向对象及函数编程语言中,不...
String, StringBuffer 和 StringBuilder 可变性 String不可变...
序列化:把对象转换为字节序列的过程称为对象的序列化. 反序...
先说结论,是对象!可以继续往下看 数组是不是对象 什么是对...
为什么浮点数 float 或 double 运算的时候会有精度丢失的风险...
面试题引入 这里引申出一个经典问题,看下面代码 Integer a ...