mirror of
https://github.com/opencv/opencv.git
synced 2025-01-18 06:03:15 +08:00
updated test threshold
This commit is contained in:
parent
c1e753c868
commit
f27a54be97
@ -353,7 +353,7 @@ int CV_DetectorTest::validate( int detectorIdx, vector<vector<Rect> >& objects )
|
|||||||
if( imageIdx < (int)imageFilenames.size() )
|
if( imageIdx < (int)imageFilenames.size() )
|
||||||
{
|
{
|
||||||
char msg[500];
|
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() );
|
detectorNames[detectorIdx].c_str(), imageFilenames[imageIdx].c_str() );
|
||||||
ts->printf( CvTS::LOG, msg );
|
ts->printf( CvTS::LOG, msg );
|
||||||
return CvTS::FAIL_BAD_ACCURACY;
|
return CvTS::FAIL_BAD_ACCURACY;
|
||||||
|
@ -320,9 +320,9 @@ public:
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
CV_DescriptorExtractorTest siftDescriptorTest( "descriptor-sift", 0.008f,
|
CV_DescriptorExtractorTest siftDescriptorTest( "descriptor-sift", 0.03f,
|
||||||
createDescriptorExtractor("SIFT"), 8.06652f );
|
createDescriptorExtractor("SIFT"), 8.06652f );
|
||||||
CV_DescriptorExtractorTest surfDescriptorTest( "descriptor-surf", 0.02f,
|
CV_DescriptorExtractorTest surfDescriptorTest( "descriptor-surf", 0.035f,
|
||||||
createDescriptorExtractor("SURF"), 0.147372f );
|
createDescriptorExtractor("SURF"), 0.147372f );
|
||||||
//CV_DescriptorExtractorTest oppSiftDescriptorTest( "descriptor-opponent-sift", 0.008f,
|
//CV_DescriptorExtractorTest oppSiftDescriptorTest( "descriptor-opponent-sift", 0.008f,
|
||||||
// createDescriptorExtractor("OpponentSIFT"), 8.06652f );
|
// createDescriptorExtractor("OpponentSIFT"), 8.06652f );
|
||||||
|
Loading…
Reference in New Issue
Block a user