Jacquipre

Hello...

I want to write an application for a pda which uses the camera. I need the current camera data, i.e. video stream or only images. The problem is that I don't want to see the current video on the screen! Is this possible with the new Camera Capture API for Windows Mobile 5.0   Can I capture the video data without showing the video

--Jacqueline.


Re: Smart Devices Native C++ Development Get Camera Data without showing on the screen?

JasonFuller

You can't use the SHCameraCapture API.  You'll have to use DirectShow directly.  See the "Cameracapture" sample in the SDK.



Re: Smart Devices Native C++ Development Get Camera Data without showing on the screen?

Jacquipre

You mean this:
http://msdn.microsoft.com/library/default.asp url=/library/en-us/directshow/htm/directshow.asp,

So, I can use DirectShow directly for a pda It will get the camera of it And I have to use C++
At the moment, I can't really imagine how to write those application... I can make a normal
win32 application, f.ex. in Visual Studio Or must I use special sdk's or api's

Sorry for that many questions....




Re: Smart Devices Native C++ Development Get Camera Data without showing on the screen?

doubletree

JasonFuller wrote:
You can't use the SHCameraCapture API. You'll have to use DirectShow directly. See the "Cameracapture" sample in the SDK.

I tried Cameracapture sample, but had these two problems:

1. There is no way to control the exposure, and the resulting picture is alway whited out.

2. Many photos ended up currupt with zero size.

I think SHCameraCapture is much simplier and WYSIWYG. But can't be used to automatically take pictures. Or maybe it can, if one sends two center rocker clicking events to it. Has anyone used keyboard_event to do it