Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Image acquisition hardware scanning from Java [closed]

How can I implement image acquisition from hardware scanner in Windows? I found JTwain library, but it's commercial. Is there any free frameworks? Any information about this?

like image 657
3biga Avatar asked Sep 02 '09 09:09

3biga


2 Answers

Here's an article discussing how to implement your own API using TWAIN (confusingly also called JTwain).

From the article:

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.

like image 153
Brian Agnew Avatar answered Nov 11 '22 05:11

Brian Agnew


If it's for personal or educational use, maybe you can use Morena: http://www.gnome.sk/Twain/jtp.html

Unfortunetely, if it's for commercial use you will have to pay for it.

like image 21
Gothmog Avatar answered Nov 11 '22 05:11

Gothmog