Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Can Image Acquisition Toolbox connect to a Scanner?

Subject: Can Image Acquisition Toolbox connect to a Scanner?

From: Nathan Orloff

Date: 22 Dec, 2011 00:57:08

Message: 1 of 5

Hi All,

Can the image acquisition toolbox talk to a scanner? Right now I run a VB executable to scan an image. I want to simplify my code and keep everything in matlab. Areany of you aware of a way to do this. The scanner is an HP G3110.

Nate

Subject: Can Image Acquisition Toolbox connect to a Scanner?

From: Nathan Orloff

Date: 22 Dec, 2011 17:02:08

Message: 2 of 5

http://www.mathworks.com/support/solutions/en/data/1-17YOP/?solution=1-17YOP

I saw this. I don't think it is correct.

I think there must be a way to load the java library and then access the objects. Just like you do with so many of the new routines.

Subject: Can Image Acquisition Toolbox connect to a Scanner?

From: Yair Altman

Date: 24 Dec, 2011 21:10:09

Message: 3 of 5

"Nathan Orloff" wrote in message <jcvnqg$4ro$1@newscl01ah.mathworks.com>...
> http://www.mathworks.com/support/solutions/en/data/1-17YOP/?solution=1-17YOP
>
> I saw this. I don't think it is correct.
>
> I think there must be a way to load the java library and then access the objects. Just like you do with so many of the new routines.

Here are a few resources for using TWAIN in Java:

http://www.javaworld.com/javaworld/jw-07-2002/jw-0726-twain.html
http://stackoverflow.com/questions/11338/getting-java-and-twain-to-play-together-nicely
http://www.programmersheaven.com/2/Java-Twain-image-acquisition
http://today.java.net/pub/a/today/2004/11/18/twain.html
http://asprise.com/product/jtwain/ ($$$)

(plus plenty others that you can easily find online)

Once you have it in Java, working with it in Matlab is immediate.

Yair Altman
http://YUndocumentedMatlab.com
Read my book: Undocumented Secrets of Matlab-Java Programming
 

Subject: Can Image Acquisition Toolbox connect to a Scanner?

From: kees de Kapper

Date: 27 Feb, 2013 10:38:08

Message: 4 of 5

Hi all,

after two years, did anybody experimented with this? And get it to work?
If so. Please could you provide me some info or example code to do it as well?

Many many thanks.

Kind regards,

Kees

"Yair Altman" wrote in message <jd5f3h$j8r$1@newscl01ah.mathworks.com>...
> "Nathan Orloff" wrote in message <jcvnqg$4ro$1@newscl01ah.mathworks.com>...
> > http://www.mathworks.com/support/solutions/en/data/1-17YOP/?solution=1-17YOP
> >
> > I saw this. I don't think it is correct.
> >
> > I think there must be a way to load the java library and then access the objects. Just like you do with so many of the new routines.
>
> Here are a few resources for using TWAIN in Java:
>
> http://www.javaworld.com/javaworld/jw-07-2002/jw-0726-twain.html
> http://stackoverflow.com/questions/11338/getting-java-and-twain-to-play-together-nicely
> http://www.programmersheaven.com/2/Java-Twain-image-acquisition
> http://today.java.net/pub/a/today/2004/11/18/twain.html
> http://asprise.com/product/jtwain/ ($$$)
>
> (plus plenty others that you can easily find online)
>
> Once you have it in Java, working with it in Matlab is immediate.
>
> Yair Altman
> http://YUndocumentedMatlab.com
> Read my book: Undocumented Secrets of Matlab-Java Programming
>

Subject: Can Image Acquisition Toolbox connect to a Scanner?

From: Zoltan

Date: 15 Nov, 2013 20:39:19

Message: 5 of 5

I tried Viscom Scanner Pro SDK ActiveX 4.0. It was really easy to use and it did everything I wanted. It is not free plus I have the security concern of ActiveX so I am open for any other solution too but I like it.

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us