mirror of
https://github.com/opencv/opencv.git
synced 2026-10-06 04:03:36 +03:00
some improvements on tutorials
This commit is contained in:
1 parent
8e6e05ed3f
commit
89480801b8
41 files changed
+261
-188
No files matched your search
@@ -63,7 +63,7 @@ int main(void)
|
||||
|
||||
Mat res;
|
||||
drawMatches(img1, inliers1, img2, inliers2, good_matches, res);
|
||||
imwrite("res.png", res);
|
||||
imwrite("akaze_result.png", res);
|
||||
|
||||
double inlier_ratio = inliers1.size() * 1.0 / matched1.size();
|
||||
cout << "A-KAZE Matching Results" << endl;
|
||||
@@ -75,5 +75,8 @@ int main(void)
|
||||
cout << "# Inliers Ratio: \t" << inlier_ratio << endl;
|
||||
cout << endl;
|
||||
|
||||
imshow("result", res);
|
||||
waitKey();
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user