views:

557

answers:

2

Hello folks,

I am developer from *nix world so any pointers will be helpful.

I am using the AMCAP SDK example and have to capture live preview and still images. I understood the code for getting live preview. Now how can I capture an image at runtime from the gcap data structure ? Mind you the application has to do some real time image processing on the captured image and return the out immediately. So I don't want to save the live preview as avi and extract a frame from it.

Regards Ankur

A: 

I am not sure about doing it with the amcap example. However, if you are trying to process the images from the stream, check out this CodeProject example. IMO this example is far simpler and clearer than amcap or any other sample from the Microsoft SDK.

Dani van der Meer
A: 

Hello Ankur; Did you find any result? I am also doing the same thing as you did. I am using amcap to preview video and record it from the camera, now I want to capture still image. I found this link http://msdn.microsoft.com/en-us/library/aa926633.aspx I am still struggeling how I can do it. Any suggestion?

Thanks; SB

SAAb