- remove zero threshold that prevents ORB from finding any local features
authorEric Zavesky <eric@emotersrobots.com>
Mon, 15 Feb 2016 10:26:03 +0000 (04:26 -0600)
committerEric Zavesky <eric@emotersrobots.com>
Mon, 15 Feb 2016 10:26:03 +0000 (04:26 -0600)
samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp

index ba845dc..a146f1e 100755 (executable)
@@ -140,7 +140,6 @@ int main(int argc, char **argv)
     Ptr<AKAZE> akaze = AKAZE::create();
     akaze->setThreshold(akaze_thresh);
     Ptr<ORB> orb = ORB::create();
-    orb->setMaxFeatures(stats.keypoints);
     Ptr<DescriptorMatcher> matcher = DescriptorMatcher::create("BruteForce-Hamming");
     Tracker akaze_tracker(akaze, matcher);
     Tracker orb_tracker(orb, matcher);