- remove zero threshold that prevents ORB from finding any local features

pull/6118/head
Eric Zavesky 9 years ago
parent 28dd315ef3
commit 4546139844
  1. 1
      samples/cpp/tutorial_code/features2D/AKAZE_tracking/planar_tracking.cpp

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

Loading…
Cancel
Save