Got Questions? Get Answers.
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:
imaqhwinfo cannot recognize USB webcam

Subject: imaqhwinfo cannot recognize USB webcam

From: Majo

Date: 6 Feb, 2008 11:11:13

Message: 1 of 5

(please appologise my english)

Hi,
I'm trying to use my USB webcam in Matlab/Image Acquisition
Toolbox.
The webcam works with AMcap.exe utillity, so I was hoping
it will also work in Matlab.
But when I use command "imaqhwinfo('winvideo')" I get this
message:

-------
AdaptorDllName: 'C:\Program
Files\MATLAB\R2007a\toolbox\imaq\imaqadaptors\win32\mwwinvideoimaq.dll'
AdaptorDllVersion: '2.1 (R2007a)'
AdaptorName: 'winvideo'
DeviceIDs: {1x0 cell}
DeviceInfo: [1x0 struct]
-------

"DeviceIDs" and "DeviceInfo" are empty. And after typing
"vid = videoinput('winvideo')" an error occured

-------
??? Error using ==> videoinput.videoinput at 233
There are no devices installed for the specified
ADAPTORNAME. See IMAQHWINFO.
-------

Is my webcam using another adaptor?
(InstalledAdaptors: {'coreco' 'demo' 'winvideo'})

Is it possible that the webcam would by useless in Matlab
even if it works with AMcap utillity? (in accordance with
http://www.mathworks.com/products/imaq/
supportedio13875.html)

Thank you for any answer. Have a nice day.

Subject: imaqhwinfo cannot recognize USB webcam

From: Dave Tarkowski

Date: 6 Feb, 2008 14:00:28

Message: 2 of 5

Majo wrote:
>
> Is it possible that the webcam would by useless in Matlab
> even if it works with AMcap utillity? (in accordance with
> http://www.mathworks.com/products/imaq/
> supportedio13875.html)
>
> Thank you for any answer. Have a nice day.
>

There are some cameras that will work with AMCap, but will not work with
the Image Acquisition Toolbox. What hardware are you using?

-Dave Tarkowski

Subject: imaqhwinfo cannot recognize USB webcam

From: Majo

Date: 6 Feb, 2008 15:02:08

Message: 3 of 5

> There are some cameras that will work with AMCap, but
will not work with
> the Image Acquisition Toolbox. What hardware are you
using?
>
> -Dave Tarkowski

SoC PC-Camera Manufacturer
sensor: 352 x 288 pix, CMOS
Lens specification: F 2,4, f = 3,6 mm
Video Format: AVI
Video capturing: 320 x 240 / 160 x 120
Video resolution: 640 x 480 pix
connection: USB

I tried also command "imaqrest" but it does not solve the
problem.
Thank you.

Subject: imaqhwinfo cannot recognize USB webcam

From: Vihang Patil

Date: 7 Feb, 2008 05:22:01

Message: 4 of 5

"Majo " <kosmodisk@post.sk> wrote in message
<foci5g$2op$1@fred.mathworks.com>...
> > There are some cameras that will work with AMCap, but
> will not work with
> > the Image Acquisition Toolbox. What hardware are you
> using?
> >
> > -Dave Tarkowski
>
> SoC PC-Camera Manufacturer
> sensor: 352 x 288 pix, CMOS
> Lens specification: F 2,4, f = 3,6 mm
> Video Format: AVI
> Video capturing: 320 x 240 / 160 x 120
> Video resolution: 640 x 480 pix
> connection: USB
>
> I tried also command "imaqrest" but it does not solve the
> problem.
> Thank you.


One possibility would be that Matlab does not identify the
USB device if you have already started Matlab and then
plugged in your USB camera.
See if it works if you plug in your USB camera, start the
AMCAP utility. If you see the video, close the AMCAP utility
and the start Matlab.
HTH
Vihang

Subject: imaqhwinfo cannot recognize USB webcam

From: Majo

Date: 7 Feb, 2008 09:18:03

Message: 5 of 5

"Vihang Patil" <vihang_patil@yahoo.com> wrote in message
<foe4hp$lnl$1@fred.mathworks.com>...
> "Majo " <kosmodisk@post.sk> wrote in message
> <foci5g$2op$1@fred.mathworks.com>...
> > > There are some cameras that will work with AMCap, but
> > will not work with
> > > the Image Acquisition Toolbox. What hardware are you
> > using?
> > >
> > > -Dave Tarkowski
> >
> > SoC PC-Camera Manufacturer
> > sensor: 352 x 288 pix, CMOS
> > Lens specification: F 2,4, f = 3,6 mm
> > Video Format: AVI
> > Video capturing: 320 x 240 / 160 x 120
> > Video resolution: 640 x 480 pix
> > connection: USB
> >
> > I tried also command "imaqrest" but it does not solve
the
> > problem.
> > Thank you.
>
>
> One possibility would be that Matlab does not identify the
> USB device if you have already started Matlab and then
> plugged in your USB camera.
> See if it works if you plug in your USB camera, start the
> AMCAP utility. If you see the video, close the AMCAP
utility
> and the start Matlab.
> HTH
> Vihang


This method does not solve the problem. I'll try another
webcam.
Thank you for your good-will.

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