如何使用 C# 访问网络摄像头?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/10509495/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-09 14:08:02  来源:igfitidea点击:

How to access webcam using C#?

c#webcam

提问by user1378987

Possible Duplicate:
C# + DirectShow.NET = Simple WebCam access?

可能重复:
C# + DirectShow.NET = 简单的网络摄像头访问?

How do you switch on/off the webcam using C#? I want to create a program with a start/end button that would access the laptop webcam.

如何使用 C# 打开/关闭网络摄像头?我想创建一个带有开始/结束按钮的程序,可以访问笔记本电脑网络摄像头。

回答by Yoav

AForge gives a nice solution: http://www.aforgenet.com/aforge/framework/

AForge 提供了一个很好的解决方案:http://www.aforgenet.com/aforge/framework/