- fix the test for ORB (it's a binary feature)
authorVincent Rabaud <no@email>
Wed, 25 May 2011 00:34:25 +0000 (00:34 +0000)
committerVincent Rabaud <no@email>
Wed, 25 May 2011 00:34:25 +0000 (00:34 +0000)
modules/features2d/test/test_features2d.cpp

index 7910cdf..30f9dc0 100644 (file)
@@ -1047,8 +1047,8 @@ TEST( Features2d_DescriptorExtractor_SURF, regression )
 TEST( Features2d_DescriptorExtractor_ORB, regression )
 {
     // TODO adjust the parameters below
-    CV_DescriptorExtractorTest<L2<float> > test( "descriptor-orb",  0.035f,
-                                                 DescriptorExtractor::create("ORB"), 0.147372f );
+    CV_DescriptorExtractorTest<Hamming> test( "descriptor-orb",  0.035f,
+                                                 DescriptorExtractor::create("ORB"), 0.040f );
     test.safe_run();
 }