您的位置:首页 > 其它

SIFT keypoint detect

2010-04-06 09:09 197 查看
#include <windows.h>
#include <stdio.h>
#include <tchar.h>

int main(int argc ,char *argv[])
{
TCHAR szExe[] = _T("D://lip-vireo.exe");
TCHAR szCmd[] = _T("/"D://lip-vireo.exe/" -img D://0.jpg -d dog -p SIFT -dsdir D:// -c D://exam.conf");

STARTUPINFO si;
PROCESS_INFORMATION pi;

si.cb = sizeof(STARTUPINFO);
GetStartupInfo(&si);

if(!CreateProcess(NULL, szCmd,
NULL, // process info
NULL, // thread info
TRUE, // inheritable
0, // creation flags
NULL, // environment
NULL, // current directory
&si, & pi))
{
printf(_T("open process: %s failed with error: %d/n"), szExe, GetLastError());
}
else
{
CloseHandle(pi.hProcess);
CloseHandle(pi.hThread);
}
//console.writeline();
}
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: