By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
434,728 Members | 2,488 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 434,728 IT Pros & Developers. It's quick & easy.

Capture frames from a WebCam

P: n/a
I need to capture frames from my webcam using a windows service.
I've found some sample code on how to use thw VfW API, but I have two
major problems:
1. The sample code uses picturebox to preview and grab images. I want
to do it in formless windows service, so I need to capture frames
without displaying anything.
2. All samples I've found are using Windows Clipboard. They call the
API function which grabs as frame and put it in clipboard. Then I reed
the image from there. I am using a timer to capture frames from the
webcam and this timer have small interval 0.5-1 sec. And what I get is
useless windows clipboard. Every time i try to use it from other
application, it's contents are replaced too fast with the captured
frames.
Any ideas how to fix te thing?

thanks in advance

Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
I have tried to do that, but failed. The same questions as yours. Maybe we
should use C++ (not managed code).

I've viewed the DirectX (Managed Version), found nothing. The support of
WebCam is only included in DirectX normal version, not in managed version.
Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.