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();
}
#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();
}
相关文章推荐
- Demo Software: SIFT Keypoint Detector
- Demo Software: SIFT Keypoint Detector
- 关于opencv3.4+VS2015运行SIFT特征匹配detectAndCompute()函数莫名中断问题
- SIFT算法:KeyPoint找寻、定位与优化
- 将OpenCV里SIFT的keypoint坐标以及描述子向量输出给MATLAB
- 图像匹配算法研究之sift算法
- Detect design mode in WinRT
- SIFT特征提取分析
- Automatic Target Mode: Unable to detect device compatibility
- SIFT特征匹配算法简介
- Learning To Detect Unseen Object Classes by Between-Class Attribute Transfer
- uiview pointinside hittest touch detect
- 机器学习之SIFT&SVM
- Detect Orientation Change on Mobile Devices
- 【OpenCV】SIFT原理与源码分析:DoG尺度空间构造
- SIFT特征提取算法总结
- 谈谈SIFT、PCA-SIFT、SURF及我的一点思考(转)
- Opencv SIFT需要注意的地方
- KAZE描述子:SIFT的改进版
- QGtkStyle was unable to detect the current GTK+ theme接