Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

interfacing in C++ a webcam

Status
Not open for further replies.

cedance

Advanced Member level 2
Advanced Member level 2
Joined
Oct 24, 2003
Messages
551
Helped
30
Reputation
60
Reaction score
7
Trophy points
1,298
Location
Germany
Activity points
4,622
Hi,

I just have finished constructing C++ code for measuring the Image defocus. I have done it for static images. Now, i was asked by my professor to do it in real time for gray scale images, say, of size 512*512. Can you help me as to how to go about it. I have not done interfacing in C/C++ before.

It would be of great help,

thanks,
cedance.
 

Hi

you can use microsoft DirectShow for interfacing a WDM (Windows Driver Model) device such as a webcam .

DirectShow provides you the API functions and structures necessary to access the device.you should also download the DirectX SDK which contains the basic classes and header files of the DirectX (including DirectShow), the documentations and example source codes , ... .

for more information search DirectShow in msdn.microsoft.com

best regards
 

    cedance

    Points: 2
    Helpful Answer Positive Rating
yes, i figured that out too, i was looking for references, more like ebooks.. however, thanks for this information.

edit: found a link here: going thro' this! Thanks again.

**broken link removed**

cedance.
 

Hi

Check this pdf file

it describes how to use directshow

BR
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top