From 32ad1440cfe70c151bae7b5626c32f74c8b63ff0 Mon Sep 17 00:00:00 2001 From: shyama7004 Date: Wed, 8 Jan 2025 16:06:38 +0530 Subject: [PATCH] minor change --- .../xfeatures2d/test/test_rotation_and_scale_invariance.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/xfeatures2d/test/test_rotation_and_scale_invariance.cpp b/modules/xfeatures2d/test/test_rotation_and_scale_invariance.cpp index d2ab4f22fca..4ec9a573500 100644 --- a/modules/xfeatures2d/test/test_rotation_and_scale_invariance.cpp +++ b/modules/xfeatures2d/test/test_rotation_and_scale_invariance.cpp @@ -10,8 +10,9 @@ namespace opencv_test { namespace { static const char* const IMAGE_TSUKUBA = "features2d/tsukuba.png"; -// static const char* const IMAGE_BIKES = "detectors_descriptors_evaluation/images_datasets/bikes/img1.png"; - +#ifdef OPENCV_ENABLE_NONFREE +static const char* const IMAGE_BIKES = "detectors_descriptors_evaluation/images_datasets/bikes/img1.png"; +#endif // OPENCV_ENABLE_NONFREE // ========================== ROTATION INVARIANCE ============================= #ifdef OPENCV_ENABLE_NONFREE