Fix build of OpenCV samples (Linux)
authorAndrey Kamaev <andrey.kamaev@itseez.com>
Wed, 30 Jan 2013 08:48:01 +0000 (12:48 +0400)
committerAndrey Kamaev <andrey.kamaev@itseez.com>
Wed, 30 Jan 2013 08:48:01 +0000 (12:48 +0400)
samples/cpp/descriptor_extractor_matcher.cpp

index f09e9ea..7aa5299 100644 (file)
@@ -222,7 +222,7 @@ static void doIteration( const Mat& img1, Mat& img2, bool isWarpPerspective,
                      DrawMatchesFlags::DRAW_OVER_OUTIMG | DrawMatchesFlags::NOT_DRAW_SINGLE_POINTS );
 #endif
 
-        printf("Number of inliers: %d\n", countNonZero(matchesMask));
+        cout << "Number of inliers: " << countNonZero(matchesMask) << endl;
     }
     else
         drawMatches( img1, keypoints1, img2, keypoints2, filteredMatches, drawImg );