开发者

Is there a commercial/open source C# wrapper component for using a webcam in Windows?

开发者 https://www.devze.com 2023-02-25 06:49 出处:网络
I need to rapidly develop some software that uses a camera as an AV input. Assuming the drivers are installed for whatever the device that is giving the input I need to be able to capture images and

I need to rapidly develop some software that uses a camera as an AV input.

Assuming the drivers are installed for whatever the device that is giving the input I need to be able to capture images and to stream the camera in the winforms window.

I couldn't find a component that I can use, maybe because I don't know the right name for it.

Touchless is under a开发者_开发知识库 licence I can't use. If anyone knows of a good compoment/code I can use even if it's for a fee I will appreciate this.


DirectShow.NET library suits the bill here. You can use it to access the webcam directly using the underlaying DirectShow object as in here: http://www.codeproject.com/KB/audio-video/WebcamUsingDirectShowNET.aspx

Also if you consider learning WPF, there is a very neat webcam component here: http://wpfcap.codeplex.com/ It is just like dropping a image control on the worm, but this time in WPF:

Edit: There are also two Winform webcam components as I see now: http://easywebcam.codeplex.com/ and http://www.c-sharpcorner.com/UploadFile/yougerthen/810262008070218AM/8.aspx


This article explains how to access the webcam using Windows Image Aquisition services.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号