diff --git a/example/main.cpp b/example/main.cpp index 762aba32..cdce658f 100644 --- a/example/main.cpp +++ b/example/main.cpp @@ -144,11 +144,13 @@ int main(int argc, char * argv[]) int minInliers = 8; if(mpts_1.size() >= minInliers) { + time.start(); cv::Mat H = findHomography(mpts_1, mpts_2, cv::RANSAC, 1.0, outlier_mask); + printf("Time finding homography = %d ms\n", time.restart()); int inliers=0, outliers=0; for(int k=0; k