diff --git a/modules/features2d/test/test_descriptors_regression.cpp b/modules/features2d/test/test_descriptors_regression.cpp index 04449bdfc..e40fe9fb1 100644 --- a/modules/features2d/test/test_descriptors_regression.cpp +++ b/modules/features2d/test/test_descriptors_regression.cpp @@ -132,7 +132,7 @@ protected: stringstream ss; ss << "Max distance between valid and computed descriptors " << curMaxDist; - if( curMaxDist < maxDist ) + if( curMaxDist <= maxDist ) ss << "." << endl; else { @@ -322,7 +322,11 @@ TEST( Features2d_DescriptorExtractor_ORB, regression ) { // TODO adjust the parameters below CV_DescriptorExtractorTest test( "descriptor-orb", +#if CV_NEON + (CV_DescriptorExtractorTest::DistanceType)25.f, +#else (CV_DescriptorExtractorTest::DistanceType)12.f, +#endif ORB::create() ); test.safe_run(); }