-
August 8th, 2005, 07:04 PM
#1
Still image capture from a web cam
Hello,
I am working on a project that needs to take a still image from a Creative WebCam and save that image to the disk. I need to know how to use the camera to perform these operations.
Any help will be greatly appreciated.
-
August 8th, 2005, 07:10 PM
#2
Re: Still image capture from a web cam
You need to figure out what kind of APIs the webcam driver supports, first.
If it supports WIA (windows image aquisition), your job might be really easy (I know with .NET WIA apis, it seemed to be just a few lines of code).
I wrote an image capture program for a creative webcam, and it only supported DirectShow. It was not easy, and it took hundreds of lines of code, and learning all about DirectShow... not something I really wanted to do :-(.
-
August 8th, 2005, 07:48 PM
#3
Re: Still image capture from a web cam
As far as I can tell my web cam is not WIA compatible. I guess I will have to start learning DirectShow. Any suggestions on where to start?
-
August 9th, 2005, 12:41 AM
#4
Re: Still image capture from a web cam
Last edited by TOMNKZ; August 9th, 2005 at 12:44 AM.
-
August 9th, 2005, 12:31 PM
#5
Re: Still image capture from a web cam
I don't currently have the DirectX SDK and I don't want to download it because it is huge and I have dial-up. Microsoft doesn't seem to offer it on a CD. Maybe there is somewhere else that I could get it on CD?
-
August 9th, 2005, 12:52 PM
#6
Re: Still image capture from a web cam
you can use DirectShow however you can also use Video For Windows all the capXXX api. its very easy.
Cheers
-
August 9th, 2005, 01:54 PM
#7
Re: Still image capture from a web cam
http://www.codeguru.com/Cpp/misc/mis...cle.php/c3771/
that actually displays the stream from the webcam. but someone modified it to take a picture. i can't fidn the link.. but do some google searches using ken varn's name and you will find it. don't have time right now! sorry..
-
August 9th, 2005, 02:20 PM
#8
Re: Still image capture from a web cam
found the link. the proejct here takes a pic using a webcam.
http://www.codeguru.com/Cpp/G-M/mult...cle.php/c4723/
-
September 26th, 2012, 11:18 AM
#9
Re: Still image capture from a web cam
I am using CLScan (http://commandlinescanning.com/downloads.html) and it rocks. The best thing is I implemented it into my own C++ project and now it looks like I did it. All of the users are delighted!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|