资源简介
国外大学知名检测人脸技术,基于c语言,错误率低
代码片段和文件信息
// MPEyeFinderApp.cpp : Defines the entry point for the application.
//
#include “stdafx.h“
#include “resource.h“
#include se.h>
#include
#include
#include “DirectShow/MPDirectShow.h“
#include
#define MAX_LOADSTRING 100
// Global Variables:
HINSTANCE hInst; // current instance
TCHAR sztitle[MAX_LOADSTRING]; // The title bar text
TCHAR szWindowClass[MAX_LOADSTRING]; // The title bar text
// Foward declarations of functions included in this code module:
ATOM MyRegisterClass(HINSTANCE hInstance);
BOOL InitInstance(HINSTANCE int);
LRESULT CALLBACK WndProc(HWND UINT WPARAM LPARAM);
LRESULT CALLBACK About(HWND UINT WPARAM LPARAM);
//
//HWND WINAPI CreateTrackbar(
// HWND hwndDlg
// UINT iMin
// UINT iMax
// UINT iSelMin
// UINT iSelMAx
// UINT iXPosition
// UINT iYPosition
// UINT iLength);
//LRESULT CALLBACK DlgProc(HWND hGlg UINT message WPARAM wParam LPARAM lParam);
#define WM_GRAPHNOTIFY WM_APP + 1
MPDirectShow m_directShow;
//return from callback ‘cause graph is stopping
BYTE bReturnImmediatelyFromCallback = 0;
////////////////////
// ================================================================
int APIENTRY WinMain(HINSTANCE hInstance
HINSTANCE hPrevInstance
LPSTR lpCmdLine
int nCmdShow)
{
// TODO: Place code here.
MSG msg;
HACCEL hAccelTable;
// Initialize global strings
LoadString(hInstance IDS_APP_title sztitle MAX_LOADSTRING);
LoadString(hInstance IDC_MPblinkDETECTORAPP szWindowClass MAX_LOADSTRING);
MyRegisterClass(hInstance);
// Perform application initialization:
if (!InitInstance (hInstance nCmdShow))
{
return FALSE;
}
hAccelTable = LoadAccelerators(hInstance (LPCTSTR)IDC_MPblinkDETECTORAPP);
// Main message loop:
while (GetMessage(&msg NULL 0 0))
{
if (!TranslateAccelerator(msg.hwnd hAccelTable &msg))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
}
return msg.wParam;
}
// ================================================================
//
// FUNCTION: MyRegisterClass()
//
// PURPOSE: Registers the window class.
//
// COMMENTS:
//
// This function and its usage is only necessary if you want this code
// to be compatible with Win32 systems prior to the ‘RegisterClassEx‘
// function that was added to Windows 95. It is important to call this function
// so that the application will get ‘well formed‘ small icons associated
// with it.
//
ATOM MyRegisterClass(HINSTANCE hInstance)
{
WNDCLASSEX wcex;
wcex.cbSize = sizeof(WNDCLASSEX);
wcex.style = CS_HREDRAW | CS_VREDRAW;
wcex.lpfnWndProc = (WNDPROC)WndProc;
wcex.cbClsExtra = 0;
wcex.cbWndExtra = 0;
wcex.hInstance = hInstance;
wcex.hIcon = LoadIcon(hInstance (LPCTSTR)IDI_MPblinkDETECTORAPP);
wcex.hCursor = LoadCurso 属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 7521 2005-05-17 19:15 bl
文件 3802 2005-04-22 01:47 bl
文件 2146 2005-04-22 01:47 bl
文件 613839 2004-10-05 08:31 bl
文件 521 2005-04-22 01:47 bl
文件 8181 2004-09-10 13:39 bl
文件 6552 2004-10-13 09:48 bl
文件 4637 2004-10-13 09:48 bl
文件 366 2004-09-10 13:39 bl
文件 7398 2004-09-10 13:39 bl
文件 3969 2004-09-10 14:53 bl
文件 959 2004-09-10 14:53 bl
文件 306 2004-09-10 13:39 bl
文件 938 2004-10-12 18:33 bl
文件 167 2004-10-08 13:55 bl
文件 172 2004-10-08 13:55 bl
文件 3272 2004-09-27 16:36 bl
文件 549 2004-09-10 13:39 bl
文件 115712 2010-03-24 13:00 bl
文件 53760 2010-03-24 13:00 bl
文件 1282 2004-10-13 17:11 bl
文件 4085 2004-10-13 17:11 bl
文件 3618 2004-09-10 13:39 bl
文件 366 2004-09-10 13:39 bl
文件 13599 2004-10-12 18:33 bl
文件 274 2004-09-10 13:39 bl
文件 9207 2004-10-13 09:48 bl
文件 2128 2004-10-12 18:33 bl
文件 1589 2004-09-10 13:39 bl
文件 2102 2004-10-13 09:48 bl
............此处省略12个文件信息
- 上一篇:OpenGL纹理贴图源程序.rar
- 下一篇:数据结构的顺序栈的逆置和合并
相关资源
- C语言编程常见问题解答.pdf
- GD32通过规则组寄存器 DMA获取多组AD
- 基于MFC的TCP调试助手源码95706
- 国际象棋的qt源代码
- 操作系统c语言模拟文件管理系统844
- C语言开发实战宝典
- C++中头文件与源文件的作用详解
- 基于mfc的多线程文件传输
- C++多线程网络编程Socket
- VC++ 多线程文件读写操作
- C语言代码高亮html输出工具
- 猜数字游戏 c语言代码
- C语言课程设计
- 数字电位器C语言程序
- CCS FFT c语言算法
- 使用C语言编写的病房管理系统
- 通信过程中的RS编译码程序(c语言)
- 利用C++哈希表的方法实现电话号码查
- 计算机二级C语言上机填空,改错,编
- 用回溯法解决八皇后问题C语言实现
- 移木块游戏,可以自编自玩,vc6.0编写
- 简易教务管理系统c语言开发文档
- 操作系统课设 读写者问题 c语言实现
- 小波变换算法 c语言版
- C流程图生成器,用C语言代码 生成C语
- 3des加密算法C语言实现
- 简单的C语言点对点聊天程序
- 单片机c语言源程序(51定时器 八个按
- C++纯文字DOS超小RPG游戏
- 个人日常财务管理系统(C语言)
川公网安备 51152502000135号
评论
共有 条评论