how can i capture an image from webcam
-
Hi, I am a beginner in C# and I don't understand the answers in the internet for my question. I want to catch a picture from my WebCam (USB Port) and show it in a pictureBox for example. I have the Microsoft Visual C# express edition, that's it and I know how to put a jpg or bmp in the pictureBox but how can I get the Picture ? Is there anybody who can help me ?
-
Hi, I am a beginner in C# and I don't understand the answers in the internet for my question. I want to catch a picture from my WebCam (USB Port) and show it in a pictureBox for example. I have the Microsoft Visual C# express edition, that's it and I know how to put a jpg or bmp in the pictureBox but how can I get the Picture ? Is there anybody who can help me ?
Have you looked at this article[^]? It details how to use the Windows Image Acquisition service to acquire images from a web cam and use them in C#.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: God-as-Judge, God-as-Forgiver The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Have you looked at this article[^]? It details how to use the Windows Image Acquisition service to acquire images from a web cam and use them in C#.
Tech, life, family, faith: Give me a visit. I'm currently blogging about: God-as-Judge, God-as-Forgiver The apostle Paul, modernly speaking: Epistles of Paul Judah Himango
-
Hi, I am a beginner in C# and I don't understand the answers in the internet for my question. I want to catch a picture from my WebCam (USB Port) and show it in a pictureBox for example. I have the Microsoft Visual C# express edition, that's it and I know how to put a jpg or bmp in the pictureBox but how can I get the Picture ? Is there anybody who can help me ?
Is it WIA? If so, a link from a few months ago on my blog might help you. It's directed at capturing images from a scanner. However, it uses the WIA SDK so if your webcam is WIA all you should need to do is change a few settings (e.g. the device type). Link: http://geekswithblogs.net/tonyt/archive/2006/07/29/86608.aspx[^]
-
Hi, I am a beginner in C# and I don't understand the answers in the internet for my question. I want to catch a picture from my WebCam (USB Port) and show it in a pictureBox for example. I have the Microsoft Visual C# express edition, that's it and I know how to put a jpg or bmp in the pictureBox but how can I get the Picture ? Is there anybody who can help me ?
Hey apoll, Use Windows Image Acquisition (WIA). Its an API included in Windows which gets images from devices such as cameras and scanners. Check out this Coding4Fun article by Scott Hanselman: http://msdn.microsoft.com/coding4fun/hardware/video/article.aspx?articleid=912546[^] Also check out this CodeProject article: http://www.codeproject.com/useritems/WebCamService.asp[^] I hope that helps, Ashish :)
Time flies like an arrow; Fruit flies like a banana. Ashish Derhgawen - http://ashishrd.blogspot.com[^]