Solved

How to capture image from camera ?

Posted on 2002-04-15
4
254 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

Top 6 Sources for Identifying Threat Actor TTPs

Understanding your enemy is essential. These six sources will help you identify the most popular threat actor tactics, techniques, and procedures (TTPs).

Join & Write a Comment

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
Background What I'm presenting in this article is the result of 2 conditions in my work area: We have a SQL Server production environment but no development or test environment; andWe have an MS Access front end using tables in SQL Server but we a…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now