HOW TO GET WEB CAM IMAGES IN C#

Posted by SR Dusad on Stack Overflow See other posts from Stack Overflow or by SR Dusad
Published on 2010-05-21T12:08:49Z Indexed on 2010/05/21 12:10 UTC
Read the original article Hit count: 184

Filed under:
|
|
|

Hi

I m working on online video conferencing project in c# and .Net4.0

I want a library or code which i can used for collecting web camera inges per second in diferent form. I try this by using the AVICAP32, in which we send Messages for diferent purpose like copy or edit frames.but in this we have to pass a reference of picturebox while creating handler as given below

mCapHwnd = capCreateCaptureWindowA("0", 268435456 | 1073741824, 0, 0, 640, 480,picturebox1.Handle.ToInt32(), 0);

usiing these commands i m able to capture images but the problem comes when i minimize the picturebox form . at that time doesn't create new image .

I think this is happened because i minimize the form and when it copy the image from this clipboard it doesn't shhow anything.

How can i solve this problem . Any type of help will be appreciated.

Thanks srdusad

© Stack Overflow or respective owner

Related posts about c#

Related posts about .net-4.0