Fixed stitching module tests built without nonfree

This commit is contained in:
Andrey Kamaev
2012-04-18 08:00:12 +00:00
parent dda338a757
commit 11ce8683bb
3 changed files with 23 additions and 3 deletions
+5
View File
@@ -40,6 +40,9 @@
//M*/
#include "test_precomp.hpp"
#include "opencv2/opencv_modules.hpp"
#if HAVE_OPENCV_NONFREE
using namespace cv;
using namespace std;
@@ -71,3 +74,5 @@ TEST(SurfFeaturesFinder, CanFindInROIs)
ASSERT_GT(br_rect_count, 0);
ASSERT_EQ(bad_count, 0);
}
#endif