資源簡介
國外大學知名檢測人臉技術,基于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
- 下一篇:數據結構的順序棧的逆置和合并
評論
共有 條評論