• 大小: 2.13MB
    文件类型: .rar
    金币: 1
    下载: 0 次
    发布日期: 2023-09-12
  • 语言: 其他
  • 标签: opencv  

资源简介

opencv 、directshow捕获摄像头,实时播放

资源截图

代码片段和文件信息


// Blog_opencv_video.cpp : 定义应用程序的类行为。
//

#include “stdafx.h“
#include “Blog_opencv_video.h“
#include “Blog_opencv_videoDlg.h“

#ifdef _DEBUG
#define new DEBUG_NEW
#endif


// CBlog_opencv_videoApp

BEGIN_MESSAGE_MAP(CBlog_opencv_videoApp CWinApp)
ON_COMMAND(ID_HELP &CWinApp::onhelp)
END_MESSAGE_MAP()


// CBlog_opencv_videoApp 构造

CBlog_opencv_videoApp::CBlog_opencv_videoApp()
{
// 支持重新启动管理器
m_dwRestartManagerSupportFlags = AFX_RESTART_MANAGER_SUPPORT_RESTART;

// TODO: 在此处添加构造代码,
// 将所有重要的初始化放置在 InitInstance 中
}


// 唯一的一个 CBlog_opencv_videoApp 对象

CBlog_opencv_videoApp theApp;


// CBlog_opencv_videoApp 初始化

BOOL CBlog_opencv_videoApp::InitInstance()
{
// 如果一个运行在 Windows XP 上的应用程序清单指定要
// 使用 ComCtl32.dll 版本 6 或更高版本来启用可视化方式,
//则需要 InitCommonControlsEx()。否则,将无法创建窗口。
INITCOMMONCONTROLSEX InitCtrls;
InitCtrls.dwSize = sizeof(InitCtrls);
// 将它设置为包括所有要在应用程序中使用的
// 公共控件类。
InitCtrls.dwICC = ICC_WIN95_CLASSES;
InitCommonControlsEx(&InitCtrls);

CWinApp::InitInstance();


AfxEnableControlContainer();

// 创建 shell 管理器,以防对话框包含
// 任何 shell 树视图控件或 shell 列表视图控件。
CShellManager *pShellManager = new CShellManager;

// 标准初始化
// 如果未使用这些功能并希望减小
// 最终可执行文件的大小,则应移除下列
// 不需要的特定初始化例程
// 更改用于存储设置的注册表项
// TODO: 应适当修改该字符串,
// 例如修改为公司或组织名
SetRegistryKey(_T(“应用程序向导生成的本地应用程序“));

CBlog_opencv_videoDlg dlg;
m_pMainWnd = &dlg;
INT_PTR nResponse = dlg.DoModal();
if (nResponse == IDOK)
{
// TODO: 在此放置处理何时用
//  “确定”来关闭对话框的代码
}
else if (nResponse == IDCANCEL)
{
// TODO: 在此放置处理何时用
//  “取消”来关闭对话框的代码
}

// 删除上面创建的 shell 管理器。
if (pShellManager != NULL)
{
delete pShellManager;
}

// 由于对话框已关闭,所以将返回 FALSE 以便退出应用程序,
//  而不是启动应用程序的消息泵。
return FALSE;
}


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

     文件     106304  2016-04-13 20:16  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\Blog_opencv_video.aps

     文件       2136  2016-01-29 14:08  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\Blog_opencv_video.cpp

     文件        508  2016-01-29 14:08  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\Blog_opencv_video.h

     文件      10796  2016-04-13 20:16  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\Blog_opencv_video.rc

     文件        918  2016-01-29 14:09  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\Blog_opencv_video.sln

    ..A..H.     13824  2016-01-29 15:11  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\Blog_opencv_video.suo

     文件       7235  2016-04-12 21:59  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\Blog_opencv_video.vcxproj

     文件       2324  2016-04-12 21:46  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\Blog_opencv_video.vcxproj.filters

     文件        143  2016-01-29 14:08  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\Blog_opencv_video.vcxproj.user

     文件       8096  2016-04-15 19:49  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\Blog_opencv_videoDlg.cpp

     文件       1338  2016-04-13 20:16  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\Blog_opencv_videoDlg.h

     文件      11382  2016-04-12 21:57  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\CameraDS.cpp

     文件       3097  2010-11-16 17:20  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\CameraDS.h

     文件       7251  2015-05-27 10:52  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\CvvImage.cpp

     文件       2054  2015-05-27 10:51  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\CvvImage.h

     文件     196608  2006-02-28 18:04  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\DirectShow\DirectShow\bin\libguide40.dll

     文件        631  2008-02-27 14:52  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\DirectShow\DirectShow\include\activecf.h

     文件       1826  2008-02-27 14:52  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\DirectShow\DirectShow\include\amaudio.h

     文件       1065  2008-02-27 14:52  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\DirectShow\DirectShow\include\amparse.h

     文件      73261  2008-02-27 14:52  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\DirectShow\DirectShow\include\amstream.h

     文件       3974  2008-02-27 14:52  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\DirectShow\DirectShow\include\amva.h

     文件      19851  2008-02-27 14:52  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\DirectShow\DirectShow\include\Amvideo.h

     文件       1097  2008-02-27 14:52  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\DirectShow\DirectShow\include\atsmedia.h

     文件       1532  2008-02-27 14:52  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\DirectShow\DirectShow\include\audevcod.h

     文件      20543  2008-02-27 14:52  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\DirectShow\DirectShow\include\austream.h

     文件      13805  2008-02-27 14:52  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\DirectShow\DirectShow\include\aviriff.h

     文件       6820  2008-02-27 14:52  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\DirectShow\DirectShow\include\basetsd.h

     文件     125594  2008-02-27 14:52  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\DirectShow\DirectShow\include\bdaiface.h

     文件      54539  2008-02-27 14:52  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\DirectShow\DirectShow\include\bdamedia.h

     文件      53527  2008-02-27 14:52  opencv 、directshow捕获摄像头,实时播放\Blog_opencv_video\DirectShow\DirectShow\include\Bdatif.h

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

评论

共有 条评论