使用网络摄像头捕获视频-我需要C#源代码 [英] Capture Video Using Webcam - I need the C# Source code

查看:69
本文介绍了使用网络摄像头捕获视频-我需要C#源代码的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是19岁的女孩,喜欢编程.我在这里是新手,希望我能从与我有相同兴趣的好心人那里得到一些帮助.

Hi, im 19 years old girl who likes programming. Im new here, and hope i can get some help from kind guys here who do share same interest with me.

我是日本人,请原谅我的英语.

Im from Japan so pardon my english language.

无论如何,关于我的问题,我需要C#源代码才能从网络摄像头捕获/记录视频并将其保存为文件.

Anyway, about my problems, i need C# source code to capture/record video from webcam and save it as a file.

这是我的来源

<表宽度="85%"> <表宽度="100%">

//--------------------------------------------- -------------------------------------------//

//----------------------------------------------------------------------------------------//

//网络摄像头

//Webcam

//要从网络摄像头开始捕获

//To start capturing from webcam

私有 无效 button6_Click( 对象 发件人, EventArgs e)

private void button6_Click(object sender, EventArgs e)

{

toolStripStatusLabel1.Text = "实时捕获!在网络摄像头上"; ;

toolStripStatusLabel1.Text = "Capturing Live! On Webcam";

}

//用于暂停从网络摄像头捕获的按钮

//Button to pause capturing from webcam

私有 无效 button12_Click( 对象 发件人, EventArgs e)

private void button12_Click(object sender, EventArgs e)

{

toolStripStatusLabel1.Text = " Webcam Paused" ;

toolStripStatusLabel1.Text = "Webcam Paused";

}

//用于停止从网络摄像头捕获的按钮

//Button to stop capturing from webcam

私有 无效 button13_Click( 对象 发件人, EventArgs e)

private void button13_Click(object sender, EventArgs e)

{

toolStripStatusLabel1.Text = 网络摄像头已停止"; ;

toolStripStatusLabel1.Text = "Webcam Stoped";

}

//用于保存从网络摄像头捕获的电影的按钮

//Button to save captured movie from webcam

私有 无效 button14_Click( 对象 发件人, EventArgs e)

private void button14_Click(object sender, EventArgs e)

{

toolStripStatusLabel1.Text = 文件已保存" ;

toolStripStatusLabel1.Text = "File Saved";

}

//用于摄像头设置的按钮

//Button for webcam setting

私有 无效 button7_Click( 对象 发件人, EventArgs e)

private void button7_Click(object sender, EventArgs e)

{

toolStripStatusLabel1.Text = 网络摄像头设置" ;

toolStripStatusLabel1.Text = "Webcam Settings";

}

私有 无效 Form1_Load( 对象 发件人, EventArgs e)

private void Form1_Load(object sender, EventArgs e)

{

}

//--------------------------------------------- -------------------------------------------//

//----------------------------------------------------------------------------------------//

希望任何人都可以给我在哪里获取c#的源代码以显示来自网络摄像头的实时视频

hope anyone can give me where to get the source code in c# to display live video from webcam

argato gozaimas ... ne.

argato gozaimas... ne.

推荐答案

以下是一些我用"Webcam C#"一词在Google上快速搜索的链接;:

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1339&lngWId=10
http://www.codeproject.com/cs/webservices/webcamcsharp.asp
Here's some links I found quickly searching with google using words "Webcam C#":

http://www.planet-source-code.com/vb/scripts/ShowCode.asp?txtCodeId=1339&lngWId=10
http://www.codeproject.com/cs/webservices/webcamcsharp.asp


这篇关于使用网络摄像头捕获视频-我需要C#源代码的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆