资源简介

C#语言Winform程序利用Aforge.dll调用摄像头

资源截图

代码片段和文件信息

using AForge.Video;
using AForge.Video.DirectShow;
using AForge.Video.FFMPEG;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace 摄像头
{
    public partial class Form1 : Form
    {
        public Form1()
        {
            InitializeComponent();
        }
        FilterInfoCollection videoDevices;
        public int selectedDeviceIndex = 0;
        VideoCaptureDevice videoSource;


        private void btn_open_Camera_Click(object sender EventArgs e)
        {
            if (btn_open_Camera.Text == “打 开 摄 像 头“)
            {
                videoDe

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----

    ..A..H.     64512  2020-06-03 21:01  摄像头\.vs\摄像头\v16\.suo

     文件          0  2020-05-26 20:19  摄像头\.vs\摄像头\v16\Server\sqlite3\db.lock

     文件     749568  2020-06-03 21:01  摄像头\.vs\摄像头\v16\Server\sqlite3\storage.ide

     文件     187753  2020-06-03 20:47  摄像头\c#调用摄像头.docx

     文件       9466  2018-10-27 08:04  摄像头\packages\AForge.2.2.5\.signature.p7s

     文件      27665  2020-06-02 22:50  摄像头\packages\AForge.2.2.5\AForge.2.2.5.nupkg

     文件      17920  2013-07-17 23:15  摄像头\packages\AForge.2.2.5\lib\AForge.dll

     文件      78375  2013-07-17 23:15  摄像头\packages\AForge.2.2.5\lib\AForge.xml

     文件       9466  2018-11-16 11:14  摄像头\packages\AForge.Controls.2.2.5\.signature.p7s

     文件      40611  2020-06-02 22:51  摄像头\packages\AForge.Controls.2.2.5\AForge.Controls.2.2.5.nupkg

     文件      44544  2013-07-17 23:22  摄像头\packages\AForge.Controls.2.2.5\lib\AForge.Controls.dll

     文件      66108  2013-07-17 23:22  摄像头\packages\AForge.Controls.2.2.5\lib\AForge.Controls.xml

     文件       9467  2018-10-31 16:51  摄像头\packages\AForge.Imaging.2.2.5\.signature.p7s

     文件     226539  2020-06-02 22:50  摄像头\packages\AForge.Imaging.2.2.5\AForge.Imaging.2.2.5.nupkg

     文件     262656  2013-07-17 23:19  摄像头\packages\AForge.Imaging.2.2.5\lib\AForge.Imaging.dll

     文件     944046  2013-07-17 23:19  摄像头\packages\AForge.Imaging.2.2.5\lib\AForge.Imaging.xml

     文件       9466  2018-10-28 22:17  摄像头\packages\AForge.Math.2.2.5\.signature.p7s

     文件      71672  2020-06-02 22:50  摄像头\packages\AForge.Math.2.2.5\AForge.Math.2.2.5.nupkg

     文件      68096  2013-07-17 23:17  摄像头\packages\AForge.Math.2.2.5\lib\AForge.Math.dll

     文件     270650  2013-07-17 23:17  摄像头\packages\AForge.Math.2.2.5\lib\AForge.Math.xml

     文件       9467  2018-11-06 02:44  摄像头\packages\AForge.Video.2.2.5\.signature.p7s

     文件      28624  2020-06-02 22:51  摄像头\packages\AForge.Video.2.2.5\AForge.Video.2.2.5.nupkg

     文件      20992  2013-07-17 23:20  摄像头\packages\AForge.Video.2.2.5\lib\AForge.Video.dll

     文件      53275  2013-07-17 23:20  摄像头\packages\AForge.Video.2.2.5\lib\AForge.Video.xml

     文件       9467  2018-11-07 00:43  摄像头\packages\AForge.Video.DirectShow.2.2.5\.signature.p7s

     文件      69259  2020-06-02 22:51  摄像头\packages\AForge.Video.DirectShow.2.2.5\AForge.Video.DirectShow.2.2.5.nupkg

     文件      61440  2013-07-17 23:20  摄像头\packages\AForge.Video.DirectShow.2.2.5\lib\AForge.Video.DirectShow.dll

     文件     195287  2013-07-17 23:20  摄像头\packages\AForge.Video.DirectShow.2.2.5\lib\AForge.Video.DirectShow.xml

     文件        231  2020-06-02 23:23  摄像头\摄像头\App.config

     文件      44544  2013-07-17 23:22  摄像头\摄像头\bin\Debug\AForge.Controls.dll

............此处省略179个文件信息

评论

共有 条评论