Solved

How to capture image from camera ?

Posted on 2002-04-15
4
258 Views
Last Modified: 2010-05-02
Hello,

I have wrote a small app to capture an image from a web cam to publish to member cards.  However, i used the quickcam SDK - I have now found out that this will not run on Windows NT.  So, my question is, what is the simplest way to grab an image from a camera then save to a file - but not using the quickcam sdk :-)

The camera is a quickcam parallel VC.  I could just say upgrade your os, but this is not really an option due to their internal politics.  

A quick response would be great !!

Thanks,

Greig.
0
Comment
Question by:schofield_g
  • 2
  • 2
4 Comments
 
LVL 18

Expert Comment

by:mdougan
ID: 6942029
Well, Windows NT is going to limit you in a lot of ways.  The quick answer to your question is to use the Video For Windows (VFW) API, but this requires Direct-X 6 or 7 I think, which is not available for NT 4.0.

I downloaded some sample code from microsoft for this, and I also downloaded a free OCX from somewhere, but again, they require Video For Windows, and I think VFW requires a recent version of direct-x
0
 

Author Comment

by:schofield_g
ID: 6951128
Hello, thanks mdougan for your comment...I did think I would be limited, I have looked into the VPW and it looks an option, however...I can only get samples and documentation etc where it is referring to video capture..not capture of a single frame to a file.

Any chance you can shed some more light on this ?
0
 
LVL 18

Accepted Solution

by:
mdougan earned 75 total points
ID: 6952347
Well, the thing that I've ended up using is a freeware/shareware ocx called ezvidcap.ocx

http://www.shrinkwrapvb.com/ezvidcap.htm

This lets you capture AVI but also single frames, but I think that it requires Video For Windows.  

My Windows NT machine doesn't support the USB port so, I can't plug in the camera there, so, I plug into a W2K box that also supports VFW and it works fine.
0
 

Author Comment

by:schofield_g
ID: 6953037
Great !

I have had a look at the ocx and it is exactly what I needed.  It is for a parallel webcam on nt4 so I have no issues there.

That is a real help, it has saved from admitting defeat and saying that the app will not run on nt4.

Thanks for your help

Greig.
0

Featured Post

Courses: Start Training Online With Pros, Today

Brush up on the basics or master the advanced techniques required to earn essential industry certifications, with Courses. Enroll in a course and start learning today. Training topics range from Android App Dev to the Xen Virtualization Platform.

Question has a verified solution.

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

I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

808 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