double t = (double)cvGetTickCount();
ProcessOneSample(); // 算法函数
t = (double)cvGetTickCount() - t;//相减为算法执行的时间
printf( "detection time = %g ms\n", t/((double)cvGetTickFrequency()*1000.) );
时间: 2024-10-11 11:27:53
double t = (double)cvGetTickCount();
ProcessOneSample(); // 算法函数
t = (double)cvGetTickCount() - t;//相减为算法执行的时间
printf( "detection time = %g ms\n", t/((double)cvGetTickFrequency()*1000.) );