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:
Problem in accessing the Camera

Subject: Problem in accessing the Camera

From: Zeeshan Shareef

Date: 15 Apr, 2011 13:35:20

Message: 1 of 2

Hay !
I have web cam in my laptop. I want to access this camera in MATLAB for taking pictures and video for Image processing purpose.
What are the commands to activate and access this camera ?
How I can find the device and adopter name of this camera.
I get the following information when I run these commands


>>imaqhwinfo
InstalledAdaptors: {'coreco' 'winvideo'}
        MATLABVersion: '7.5 (R2007b)'
          ToolboxName: 'Image Acquisition Toolbox'
       ToolboxVersion: '3.0 (R2007b)'

>>imaqhwinfo('coreco')
AdaptorDllName: 'C:\Program Files\MATLAB\R2007b\toolbox\imaq\imaqadaptors\win32\mwcorecoimaq.dll'
    AdaptorDllVersion: '3.0 (R2007b)'
          AdaptorName: 'coreco'
            DeviceIDs: {1x0 cell}
           DeviceInfo: [1x0 struct]

Please give me the basic codes to access this camera and for video and Image process.

Thanks,
Zeeshan Shareef

Subject: Problem in accessing the Camera

From: ImageAnalyst

Date: 15 Apr, 2011 15:18:07

Message: 2 of 2

Just run imaqtool and copy and paste what you did into your m-file. I
had a nice GUI-based image capture app up and running within an hour
of buying the Image Acquisition Toolbox, so it's not hard.

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