• 大小: 0.37M
    文件类型: .zip
    金币: 1
    下载: 0 次
    发布日期: 2020-12-25
  • 语言: C#
  • 标签: 摄像头  C#  c  源码  

资源简介


资源截图

代码片段和文件信息

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing.Imaging;
using System.Text;
using System.Windows;
using System.Windows.Forms;
using System.IO;
using System.Windows.Media.Imaging;
using AForge;
using AForge.Controls;
using AForge.Video;
using AForge.Video.DirectShow;
using Size = System.Drawing.Size;


namespace OperateCamera
{
    public partial class Form1 : Form
    {
        private FilterInfoCollection videoDevices;
        private VideoCaptureDevice videoSource;
        public Form1()
        {
            InitializeComponent();
        }

        private void Form1_Load(object sender EventArgs e)
        {
            
            try
            {
                // 枚举所有视频输入设备
   

 属性            大小     日期    时间   名称
----------- ---------  ---------- -----  ----
     目录           0  2014-02-16 17:57  bin\
     目录           0  2014-02-16 22:13  bin\Debug\
     文件       44544  2013-07-15 23:04  bin\Debug\AForge.Controls.dll
     文件       17920  2013-07-15 23:04  bin\Debug\AForge.dll
     文件      262656  2013-07-15 23:04  bin\Debug\AForge.Imaging.dll
     文件       61440  2013-07-15 23:04  bin\Debug\AForge.Video.DirectShow.dll
     文件       20992  2013-07-15 23:04  bin\Debug\AForge.Video.dll
     目录           0  2014-02-16 21:02  bin\Debug\Images\
     文件       12288  2014-02-16 22:21  bin\Debug\OperateCamera.exe
     文件       28160  2014-02-16 22:21  bin\Debug\OperateCamera.pdb
     文件       11600  2014-02-16 22:23  bin\Debug\OperateCamera.vshost.exe
     目录           0  2016-03-09 16:45  bin\Debug\PersonImg\
     目录           0  2014-02-16 17:57  bin\Release\
     文件        4468  2014-02-17 00:08  Form1.cs
     文件        5322  2014-02-17 00:08  Form1.Designer.cs
     文件        5817  2014-02-17 00:08  Form1.resx
     目录           0  2014-02-16 20:30  lib\
     文件       44544  2013-07-15 23:04  lib\AForge.Controls.dll
     文件       17920  2013-07-15 23:04  lib\AForge.dll
     文件      262656  2013-07-15 23:04  lib\AForge.Imaging.dll
     文件       61440  2013-07-15 23:04  lib\AForge.Video.DirectShow.dll
     文件       20992  2013-07-15 23:04  lib\AForge.Video.dll
     目录           0  2014-02-16 17:21  obj\
     目录           0  2014-02-16 17:21  obj\x86\
     目录           0  2014-02-16 22:21  obj\x86\Debug\
     文件        2152  2014-02-16 17:21  obj\x86\Debug\DesignTimeResolveAssemblyReferences.cache
     文件        7246  2014-02-16 22:21  obj\x86\Debug\DesignTimeResolveAssemblyReferencesInput.cache
     文件         328  2014-02-16 22:12  obj\x86\Debug\GenerateResource.read.1.tlog
     文件         778  2014-02-16 22:12  obj\x86\Debug\GenerateResource.write.1.tlog
     文件        1676  2014-02-16 22:23  obj\x86\Debug\OperateCamera.csproj.FileListAbsolute.txt
     文件       12288  2014-02-16 22:21  obj\x86\Debug\OperateCamera.exe
............此处省略14个文件信息

评论

共有 条评论