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.
Printable View
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.
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 :-(.
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?
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?
you can use DirectShow however you can also use Video For Windows all the capXXX api. its very easy.
Cheers
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..
found the link. the proejct here takes a pic using a webcam.
http://www.codeguru.com/Cpp/G-M/mult...cle.php/c4723/
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! :cool: