Home › Forums › TWAIN Classic › From Java with user interface Twain › Re: Java Native Interface :)
I am working on a similar project, so far I have determined that it is likely that we will have to go through JNI – Java Native Interface. Yesterday I found the header for twain as a consequence of looking in the driver forum here – I have managed to raise the scanner using Java Print API … took awhile and all I got was the printer name and a good listing of MIME types the printer can print. I also found some code on the Sun Fora which provides a remarkably good starting point.
License on the code is thus:
I know that it’s quite a long time that those posts are here but I found them while looking for an OCR solution in Java, and I would like to share the FREE answer I have created.
I browsed lots of posts while searching for OCR in Java, and all was linking to Asprise / javaocr, but those are unaffordable for non-commercial project.
URL == “http://forums.sun.com/thread.jspa?threadID=423280”
Java and OCR ( Ajit at York ) Started Jul 16, 2003 5:09 AM