C++使用OpenCV打印运行时间_OpenCV


代码 C++使用OpenCV打印运行时间


代码

int64 tall = cv::getTickCount();
std::cout<< "time:" << (cv::getTickCount() - tall) / cv::getTickFrequency() << " sec." << std::endl;