[Last Call] Learn how to a build a cloud-first strategyRegister Now


Capturing video from a usb webcam

Posted on 2005-05-01
Medium Priority
Last Modified: 2008-02-26

I want to build a program to process frames/images from a video in real time.
So, my first step is to build an application in Visual C++ in order to get images with my usb webcam and I should be able to see those images in a window in my computer. But I don't know how to do it. I suppose that there should be some code already available in the net, but where? Can anyone help me?

Thanks a lot
Question by:gabmorod
  • 2
  • 2
LVL 55

Assisted Solution

by:Jaime Olivares
Jaime Olivares earned 500 total points
ID: 13904795

Author Comment

ID: 13906718
Hola Jaime

I've been looking to the first example, but they use a program that i cannot find called GraphEdit.... where is that program?

Thanks very much for your help!

Author Comment

ID: 13907827
Well, I have found it...! No worries about that! The problem was my version of SDK (the Graphedit has disappear after the one of Summer 04!!!)   ;)

I have now two filters conected and I have managed so that I can see my camera... but how can I integrate this into a Visual C++ program??? I mean, how can I generate a code to put inside of a C++ program?
LVL 55

Expert Comment

by:Jaime Olivares
ID: 13908357
Have you tried all examples or just first one?

Accepted Solution

jhshukla earned 500 total points
ID: 13909136
another option: http://www.hitl.washington.edu/artoolkit/download.htm
samples or examples folder has a MSVC project in it. it's called "simple". does more than just displaying the captured image but it's pretty trivial to get rid of extraneous code.

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

IntroductionThis article is the second in a three part article series on the Visual Studio 2008 Debugger.  It provides tips in setting and using breakpoints. If not familiar with this debugger, you can find a basic introduction in the EE article loc…
Introduction This article is a continuation of the C/C++ Visual Studio Express debugger series. Part 1 provided a quick start guide in using the debugger. Part 2 focused on additional topics in breakpoints. As your assignments become a little more …
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to clear a vector as well as how to detect empty vectors in C++.

831 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question