Fix build of OpenCV samples (Linux)
This commit is contained in:
parent
daa02aaa98
commit
9690ed8232
@ -222,7 +222,7 @@ static void doIteration( const Mat& img1, Mat& img2, bool isWarpPerspective,
|
|||||||
DrawMatchesFlags::DRAW_OVER_OUTIMG | DrawMatchesFlags::NOT_DRAW_SINGLE_POINTS );
|
DrawMatchesFlags::DRAW_OVER_OUTIMG | DrawMatchesFlags::NOT_DRAW_SINGLE_POINTS );
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
printf("Number of inliers: %d\n", countNonZero(matchesMask));
|
cout << "Number of inliers: " << countNonZero(matchesMask) << endl;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
drawMatches( img1, keypoints1, img2, keypoints2, filteredMatches, drawImg );
|
drawMatches( img1, keypoints1, img2, keypoints2, filteredMatches, drawImg );
|
||||||
|
Loading…
x
Reference in New Issue
Block a user