Skip to Main Content Skip to Search
Login
File Exchange
MATLAB Newsgroup
Link Exchange
  Blogs  
 Contest 
MathWorks.com

Thread Subject: imaqhwinfo cannot recognize USB webcam

Subject: imaqhwinfo cannot recognize USB webcam

From: Majo

Date: 06 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: Re: imaqhwinfo cannot recognize USB webcam

From: Dave Tarkowski

Date: 06 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: Re: imaqhwinfo cannot recognize USB webcam

From: Majo

Date: 06 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: Re: imaqhwinfo cannot recognize USB webcam

From: Vihang Patil

Date: 07 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: Re: imaqhwinfo cannot recognize USB webcam

From: Majo

Date: 07 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

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

rssFeed for this Thread

envelope graphic E-mail this page to a colleague

Public Submission Policy
NOTICE: Any content you submit to MATLAB Central, including personal information, is not subject to the protections which may be afforded information collected under other sections of The MathWorks, Inc. Web site. You are entirely responsible for all content that you upload, post, e-mail, transmit or otherwise make available via MATLAB Central. The MathWorks does not control the content posted by visitors to MATLAB Central and, does not guarantee the accuracy, integrity, or quality of such content. Under no circumstances will The MathWorks be liable in any way for any content not authored by The MathWorks, or any loss or damage of any kind incurred as a result of the use of any content posted, e-mailed, transmitted or otherwise made available via MATLAB Central. Read the complete Disclaimer prior to use.
Related Topics