updated test threshold

This commit is contained in:
Maria Dimashova 2010-10-25 09:51:23 +00:00
parent c1e753c868
commit f27a54be97
2 changed files with 3 additions and 3 deletions

View File

@ -353,7 +353,7 @@ int CV_DetectorTest::validate( int detectorIdx, vector<vector<Rect> >& 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;

View File

@ -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 );