简体   繁体   English

是否存在用于在Windows中使用网络摄像头的商业/开源C#包装器组件?

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

I need to rapidly develop some software that uses a camera as an AV input. 我需要快速开发一些使用相机作为AV输入的软件。

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. 假设为提供输入的设备安装了驱动程序,则我需要能够捕获图像并在winforms窗口中流式传输相机。

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. DirectShow.NET库适合此处。 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 您可以使用它通过底层DirectShow对象直接访问网络摄像头,如下所示: 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: 另外,如果您考虑学习WPF,则这里有一个非常简洁的摄像头组件: http : //wpfcap.codeplex.com/就像在蠕虫上删除图像控件一样,但这一次是在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 编辑:我现在看到的还有两个Winform网络摄像头组件: http : //easywebcam.codeplex.com/http://www.c-sharpcorner.com/UploadFile/yougerthen/810262008070218AM/8.aspx

本文介绍了如何使用Windows Image Aquisition服务访问网络摄像头。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM