From f27a54be97c116cdb5fe998d7ebe8aadf21277e8 Mon Sep 17 00:00:00 2001 From: Maria Dimashova Date: Mon, 25 Oct 2010 09:51:23 +0000 Subject: [PATCH] updated test threshold --- tests/cv/src/acascadeandhog.cpp | 2 +- tests/cv/src/afeatures2d.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/cv/src/acascadeandhog.cpp b/tests/cv/src/acascadeandhog.cpp index be87d22..5b3e8e5 100644 --- a/tests/cv/src/acascadeandhog.cpp +++ b/tests/cv/src/acascadeandhog.cpp @@ -353,7 +353,7 @@ int CV_DetectorTest::validate( int detectorIdx, vector >& objects ) if( imageIdx < (int)imageFilenames.size() ) { char msg[500]; - sprintf( msg, "detector %s has overrated count of rectangles without pair on %s-image", + sprintf( msg, "detector %s has overrated count of rectangles without pair on %s-image\n", detectorNames[detectorIdx].c_str(), imageFilenames[imageIdx].c_str() ); ts->printf( CvTS::LOG, msg ); return CvTS::FAIL_BAD_ACCURACY; diff --git a/tests/cv/src/afeatures2d.cpp b/tests/cv/src/afeatures2d.cpp index 6699f6f..be3217b 100644 --- a/tests/cv/src/afeatures2d.cpp +++ b/tests/cv/src/afeatures2d.cpp @@ -320,9 +320,9 @@ public: } }; -CV_DescriptorExtractorTest siftDescriptorTest( "descriptor-sift", 0.008f, +CV_DescriptorExtractorTest siftDescriptorTest( "descriptor-sift", 0.03f, createDescriptorExtractor("SIFT"), 8.06652f ); -CV_DescriptorExtractorTest surfDescriptorTest( "descriptor-surf", 0.02f, +CV_DescriptorExtractorTest surfDescriptorTest( "descriptor-surf", 0.035f, createDescriptorExtractor("SURF"), 0.147372f ); //CV_DescriptorExtractorTest oppSiftDescriptorTest( "descriptor-opponent-sift", 0.008f, // createDescriptorExtractor("OpponentSIFT"), 8.06652f ); -- 2.7.4